"use client"; import { Loader2, X } from "lucide-react"; import { Button } from "./button"; import { MouseEvent, MouseEventHandler, useEffect } from "react"; export default function Tab({ children, creating = false, saved = true, selected = false, onClick, onClose, closing = false, }: { children: React.ReactNode; creating?: boolean; saved?: boolean; selected?: boolean; onClick?: MouseEventHandler; onClose?: () => void; closing?: boolean; }) { return ( ); }