/// import { SystemProps, UseModalProps } from '@chakra-ui/react'; export interface IModal extends UseModalProps { children?: React.ReactNode; title?: string; renderFooter?: () => React.ReactNode; showCloseButton?: boolean; width?: SystemProps['width']; /** * Specifies the maximum height of the Modal content. * This is useful when you want to ensure that the entire modal, * including the header and footer, remains visible at all times. */ maxHeight?: SystemProps['maxHeight']; }