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