import { Button } from '@/components/ui/button'; import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from '@/components/ui/dialog'; type ConfirmDialogProps = { open: boolean; onOpenChange: (open: boolean) => void; title: string; description: string; confirmLabel?: string; cancelLabel?: string; variant?: 'default' | 'destructive'; onConfirm: () => void; loading?: boolean; }; export function ConfirmDialog({ open, onOpenChange, title, description, confirmLabel = 'Konfirmasi', cancelLabel = 'Batal', variant = 'destructive', onConfirm, loading = false, }: ConfirmDialogProps) { return ( {title} {description} ); }