import * as SheetPrimitive from "@radix-ui/react-dialog"; import { XIcon } from "lucide-react"; import { ComponentProps } from "react"; import { cn } from "../hooks"; /** * Sheet root using dialog primitives. */ function Sheet({ ...props }: ComponentProps) { return ; } /** * Trigger element that opens the sheet. */ function SheetTrigger({ ...props }: ComponentProps) { return ; } /** * Close control for the sheet. */ function SheetClose({ ...props }: ComponentProps) { return ; } /** * Portal for sheet overlay and content. */ function SheetPortal({ ...props }: ComponentProps) { return ; } /** * Fullscreen overlay behind the sheet. */ function SheetOverlay({ className, ...props }: ComponentProps) { return ( ); } /** * Sliding panel content for the sheet. */ function SheetContent({ className, children, side = "right", ...props }: ComponentProps & { side?: "top" | "right" | "bottom" | "left"; }) { return ( {children} Close ); } /** * Header section inside the sheet. */ function SheetHeader({ className, ...props }: ComponentProps<"div">) { return (
); } /** * Footer section inside the sheet. */ function SheetFooter({ className, ...props }: ComponentProps<"div">) { return (
); } /** * Title text for the sheet. */ function SheetTitle({ className, ...props }: ComponentProps) { return ( ); } /** * Secondary description text for the sheet. */ function SheetDescription({ className, ...props }: ComponentProps) { return ( ); } export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };