jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/es/Popup/props.d.ts

70 lines
1.6 KiB
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
import { IBaseProps } from '../_util/base';
/**
* @description 使
*/
export interface IPopupProps extends IBaseProps {
/**
* @description
* @default false
*/
visible: boolean;
/**
* @description
* @default false
*/
destroyOnClose: boolean;
/**
* @description
* @default true
*/
showMask: boolean;
/**
* @description
* @default "bottom"
*/
position: 'center' | 'top' | 'bottom' | 'left' | 'right';
/**
* @description
*/
animation: boolean;
/**
* @description
* @default "transform"
*/
animationType: 'transform' | 'position';
/**
* @description
*/
duration: number;
/**
* @description px
*/
height: number;
/**
* @description px
*/
width: number;
/**
* @description
*/
maskClassName: string;
/**
* @description
*/
maskStyle: string;
zIndex: number;
/**
* @description
*/
onClose?: () => void;
/**
* @description
*/
onAfterShow?: () => void;
/**
* @description
*/
onAfterClose?: () => void;
}
export declare const PopupDefaultProps: Partial<IPopupProps>;