choerodon-ui
Version:
An enterprise-class UI design language and React-based implementation
24 lines (23 loc) • 720 B
TypeScript
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?: string | number;
height?: string | number;
}