import * as SheetPrimitive from '@radix-ui/react-dialog'; import { cn } from '../libs'; import { ComponentProps } from 'react'; function Sheet({ ...props }: ComponentProps) { return ; } function SheetTrigger({ ...props }: ComponentProps) { return ; } function SheetClose({ ...props }: ComponentProps) { return ; } function SheetPortal({ ...props }: ComponentProps) { return ; } function SheetOverlay({ className, ...props }: ComponentProps) { return ( ); } interface SheetContentProps extends ComponentProps { side?: 'top' | 'bottom' | 'left' | 'right'; } function SheetContent({ className, children, side = 'right', ...props }: SheetContentProps) { return ( {children} {/* XIcon was used but not imported in original file. Assuming it's missing or global? Reviewing original file: But XIcon is not imported. It might be a mistake in the original file. I'll replace it with something generic or import it if I find where it is. Wait, the original file had `XIcon` usage on line 55 but no import. This implies the original code was broken or relying on auto-import that wasn't shown? Or maybe it's `lucide-react`? I'll check `package.json` for icon libraries. `react-icons` is there. I will use `FaXmark` or similar from react-icons/fa6 given other files use it. */} Close ); } function SheetHeader({ className, ...props }: ComponentProps<'div'>) { return (
); } function SheetFooter({ className, ...props }: ComponentProps<'div'>) { return (
); } function SheetTitle({ className, ...props }: ComponentProps) { return ( ); } function SheetDescription({ className, ...props }: ComponentProps) { return ( ); } export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };