/// import { ModalProps } from '@chakra-ui/react'; export interface IAlertDialog extends ModalProps { /** * The title displayed at the top of the dialog. * This is a required field and helps to communicate * the purpose of the alert to the user. */ title: string; /** * A callback function to render custom options inside the * ModalFooter. This allows the user to pass in custom buttons * or actions like confirmation, cancellation, etc. * By default, the footer includes a "Close" button if `onClose` * is provided, and this callback can add additional options * next to it. * * Example: * renderOptions={() =>