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

56 lines
1.2 KiB
TypeScript
Raw Normal View History

2024-11-10 07:01:22 +00:00
import { IBaseProps } from '../_base';
/**
* @description 使
*/
export interface IPopupProps extends IBaseProps {
/**
* @description
* @default false
*/
visible?: boolean;
/**
* @description
* @default false
*/
destroyOnClose?: boolean;
/**
* @description
* @default true
*/
showMask?: boolean;
/**
* @description
*/
onClose?: () => void;
/**
* @description
* @default "center"
*/
position?: 'center' | 'top' | 'bottom' | 'left' | 'right';
/**
* @desciption
*/
animation?: boolean;
/**
* @description
*/
duration?: number;
/**
* @description px
*/
height?: number;
/**
* @description px
*/
width?: number;
/**
* @description
*/
maskClassName?: string;
/**
* @description
*/
maskStyle?: string;
}
export declare const PopupDefaultProps: Partial<IPopupProps>;