import React from 'react'; import { TypographyProps } from '../../build/Typography/type'; import { ModProps } from '../../build/Providers/shared/Mod/types'; declare type BaseModalProps = React.ComponentPropsWithoutRef<'article'>; export interface ModalProps extends Omit, ModProps { /** * To pass additional props to Modal close button */ closeProps?: React.ComponentPropsWithoutRef<'button'>; /** * To toggle visibility on Modal */ display?: boolean; /** * Set Modal's fixed height */ height?: number | string; /** * Set close button to hidden */ hideCloseButton?: boolean; /** * This ID is used for unique code when handling overflow in the body */ id?: string; /** * To set the label language */ lang?: string; /** * Set min. height on Modal */ minHeight?: number | string; /** * To set min. width on Modal */ minWidth?: number | string; /** * To set padding on Modal */ padding?: number | string; /** * To set title of Modal */ title?: string; /** * To pass additional props to Modal title */ titleProps?: TypographyProps; /** * Set Modal's fixed width */ width?: number | string; /** * To modify z-index of Modal */ zIndex?: number; /** * Callback when close button is clicked */ onClose?: (e: React.MouseEvent | KeyboardEvent) => void; } export {};