import { ButtonHTMLAttributes, HTMLAttributes, ReactNode, type CSSProperties } from 'react'; export interface BaseModalProps extends HTMLAttributes { /** Modal content */ children: ReactNode; /** Optional props for the close button */ feCloseButton?: Omit, 'onClick'>; /** If provided, alters the z-index */ feLayer?: CSSProperties['zIndex']; /** If true, removes the inner padding */ feNoPadding?: boolean; /** Fires when the built in close button is clicked, or the key Escape key is pressed */ feOnClose?: () => void; /** Title for the modal */ feTitle: string; /** If true, the modal will be displayed */ open: boolean; }