UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

25 lines (24 loc) 782 B
import BigNumber from 'bignumber.js'; import { ModalProps, DrawerTransitionName } from './Modal'; export { ModalProps, DrawerTransitionName }; export { confirmProps, } from './utils'; export declare type ModalChildrenProps = { close: () => void; update: (modalProps?: Partial<ModalProps>) => void; props: Readonly<ModalProps>; handleOk: (ok: Function) => void; handleCancel: (cancel: Function) => void; }; /** * @deprecated */ export { ModalChildrenProps as modalChildrenProps, }; export declare type ModalProxy = { open: (props?: ModalProps) => void; update: (props: ModalProps) => void; close: (destroy?: boolean) => void; }; export interface ModalCustomized { width?: BigNumber | string | number; height?: BigNumber | string | number; }