import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from "@repo/shadcn-ui/components"; interface CustomDialogProps { open: boolean; onConfirm: (ok: boolean) => void; title?: string; description?: string; cancelLabel?: string; confirmLabel?: string; } export const CustomDialog = ({ open, onConfirm, title, description, cancelLabel, confirmLabel, }: CustomDialogProps) => { return ( !open && onConfirm(false)}> {title} {description} onConfirm(false)}>{cancelLabel} onConfirm(true)}>{confirmLabel} ); };