// @mui import Button from '@mui/material/Button'; import Dialog from '@mui/material/Dialog'; import DialogTitle from '@mui/material/DialogTitle'; import DialogActions from '@mui/material/DialogActions'; import DialogContent from '@mui/material/DialogContent'; // import { ConfirmDialogProps } from './types'; // ---------------------------------------------------------------------- export default function ConfirmDialog({ title, content, action, open, onClose, ...other }: ConfirmDialogProps) { return ( {title} {content && {content} } {action} ); }