import { useState } from "react"; import { motion } from "framer-motion"; import { FileTree } from "../ide/FileTree"; import { SkillsBrowser } from "./SkillsBrowser"; import type { FileNode } from "../ide/FileTree"; import { cn } from "../../lib/utils"; export function LeftSidebar() { const [tab, setTab] = useState<"files" | "skills">("files"); const [files] = useState([]); return (
{(["files", "skills"] as const).map((t) => ( ))}
{tab === "files" ? : }
); }