"use client" import { Loader2, X } from "lucide-react" import { MouseEventHandler } from "react" import { Button } from "./button" 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 ( ) }