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