interface Props { message: string; detail?: string; confirmLabel?: string; isDestructive?: boolean; onConfirm: () => void; onCancel: () => void; } export function ConfirmDialog({ message, detail, confirmLabel = "Confirm", isDestructive = false, onConfirm, onCancel, }: Props) { return (
{detail}
} {!detail && }