"use client"; import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from "@/components/ui/alert-dialog"; type DeleteConfirmDialogProps = { open: boolean; onOpenChange: (open: boolean) => void; title: string; itemName: string; onConfirm: () => void; }; export function DeleteConfirmDialog({ open, onOpenChange, title, itemName, onConfirm, }: DeleteConfirmDialogProps) { return ( {title} 「{itemName}」を削除します。この操作は取り消せません。 キャンセル 削除 ); }