import { Button, Dialog, DialogContent, DialogFooter, DialogHeader, DialogSection, DialogSectionSeparator, DialogTitle, } from 'ui' type DeleteMessageConfirmModalProps = { visible: boolean onConfirm: () => void onCancel: () => void } export const DeleteMessageConfirmModal = ({ visible, onConfirm, onCancel, }: DeleteMessageConfirmModalProps) => { const onOpenChange = (open: boolean) => { if (!open) onCancel() } return ( Delete Message

Are you sure you want to delete this message and all subsequent messages? This action cannot be undone.

) }