import Dialog from "./Dialog"; export default function ConfirmDialog({ open, title, message, onConfirm, onCancel, confirmLabel = "Confirm", cancelLabel = "Cancel", loading }: { open: boolean; title: string; message: string; onConfirm: () => void | Promise; onCancel: () => void; confirmLabel?: string; cancelLabel?: string; loading?: boolean; }) { return ( } >

{message}

); }