import { FilePlus, FolderPlus, Search } from "lucide-react" import SidebarFile from "./file" import SidebarFolder from "./folder" import { TFile, TFolder } from "./types" const data: (TFile | TFolder)[] = [ { id: "index.tsx", type: "file", name: "index.tsx", }, { id: "components", type: "folder", name: "components", children: [ { id: "navbar.tsx", type: "file", name: "navbar.tsx", }, { id: "ui", type: "folder", name: "ui", children: [ { id: "Button.tsx", type: "file", name: "Button.tsx", }, { id: "Input.tsx", type: "file", name: "Input.tsx", }, ], }, ], }, { id: "App.tsx", type: "file", name: "App.tsx", }, { id: "styles", type: "folder", name: "styles", children: [ { id: "style.css", type: "file", name: "style.css", }, { id: "index.css", type: "file", name: "index.css", }, ], }, ] export default function Sidebar() { return (