import { useState } from "react"; import Icon from "@/components/Icon"; import Tabs from "@/components/Tabs"; import Group from "./Group"; import { menu } from "./menu"; type Props = { activeId: string | null; setActiveId: (id: string | null) => void; visible: boolean; onClose: () => void; }; const tabs = [ { id: 0, name: "Tools" }, { id: 1, name: "Files" }, ]; const Tools = ({ activeId, setActiveId, visible, onClose }: Props) => { const [tab, setTab] = useState(tabs[0]); return (