custom-app
Version:
ITIMS��Ʒ�鿪��ר��React���,�Dz��ý��ּ�dhcc-app���������
41 lines (40 loc) • 1.09 kB
TypeScript
import { ReactNode, CSSProperties, SyntheticEvent } from 'react';
declare type IStringOrHtmlElement = string | HTMLElement;
interface IDialogPropTypes {
className?: string;
keyboard?: boolean;
style?: CSSProperties;
mask?: boolean;
children?: any;
afterClose?: () => any;
onClose?: (e: SyntheticEvent<HTMLDivElement>) => any;
closable?: boolean;
maskClosable?: boolean;
visible?: boolean;
destroyOnClose?: boolean;
mousePosition?: {
x: number;
y: number;
};
title?: ReactNode;
footer?: ReactNode;
transitionName?: string;
maskTransitionName?: string;
animation?: any;
maskAnimation?: any;
wrapStyle?: {};
bodyStyle?: {};
maskStyle?: {};
prefixCls?: string;
wrapClassName?: string;
width?: number;
height?: number;
zIndex?: number;
bodyProps?: any;
maskProps?: any;
wrapProps?: any;
getContainer?: IStringOrHtmlElement | (() => IStringOrHtmlElement) | false;
closeIcon?: ReactNode;
forceRender?: boolean;
}
export default IDialogPropTypes;