import type { ReactNode } from 'react'; import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from '../ui/sheet'; import './SandboxEntryDialog.css'; type SandboxSampleSheetProps = { title: string; description: string; points: ReactNode[]; action: string; pending: boolean; error: string | null; onConfirm: () => void; onClose: () => void; }; // admin-v2 Repopulate and Restore confirmations: the shared sheet, shared-impact warning first. const SandboxSampleSheet = ({ title, description, points, action, pending, error, onConfirm, onClose }: SandboxSampleSheetProps) => ( !open && !pending && onClose()}> pending && event.preventDefault()} onInteractOutside={(event) => pending && event.preventDefault()} > {title} {description}
    {points.map((point, index) =>
  • {point}
  • )}
{error &&

{error}

}
); export default SandboxSampleSheet;