"use client" import * as React from "react" import { XIcon } from "lucide-react" import { Dialog as SheetPrimitive } from "radix-ui" import { cn } from "@/app/lib/utils" import { PopoverContainerContext } from "@/app/components/ui/popover" import { useT } from "@/app/lib/i18n/MessagesProvider" // Right-side slide-over panel (add-refund-requests). Same radix Dialog primitive as dialog.tsx — // focus trap, Escape, and scroll lock come from radix — laid out as a full-height drawer so a // list page can inspect one row without leaving the page. function Sheet({ ...props }: React.ComponentProps) { return } function SheetClose({ ...props }: React.ComponentProps) { return } function SheetContent({ className, children, side = "right", ref, ...props }: React.ComponentProps & { side?: "left" | "right" }) { const t = useT() const [container, setContainer] = React.useState(null) const setRefs = React.useCallback( (node: HTMLDivElement | null) => { setContainer(node) if (typeof ref === "function") ref(node) else if (ref) ref.current = node }, [ref] ) return ( {children} ) } function SheetHeader({ className, ...props }: React.ComponentProps<"div">) { return
} function SheetTitle({ className, ...props }: React.ComponentProps) { return ( ) } export { Sheet, SheetClose, SheetContent, SheetHeader, SheetTitle }