UNPKG

@open-condo/ui

Version:

A set of React UI components for developing applications inside the condo ecosystem

13 lines 581 B
import { ModalProps as DefaultModalProps } from 'antd'; import React from 'react'; type CondoModalWidthType = 'small' | 'big' | 'fit-content'; type CondoModalProps = { title?: string | React.ReactElement; open: boolean; width?: CondoModalWidthType; scrollX?: boolean; }; export type ModalProps = Pick<DefaultModalProps, 'children' | 'footer' | 'className' | 'afterClose' | 'maskClosable' | 'destroyOnClose' | 'getContainer' | 'zIndex' | 'onCancel'> & CondoModalProps; declare const Modal: React.FC<ModalProps>; export { Modal, }; //# sourceMappingURL=modal.d.ts.map