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

108 lines
2.5 KiB
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
import { IBaseProps } from '../_util/base';
/**
* @description 使
*/
export interface IModalProps extends IBaseProps {
/**
* @description Modal body类名
*/
bodyClassName: string;
/**
* @description Modal body样式
*/
bodyStyle: string;
/**
* @description
*/
maskClassName: string;
/**
* @description
*/
maskStyle: string;
/**
* @description
* @default true
*/
maskClosable: boolean;
/**
* @description
*/
type: 'default' | 'focus';
/**
* @description type focus
*/
closable: boolean;
/**
* @description
*/
duration: number;
/**
* @description
*/
animation: boolean;
/**
* @description
*/
zIndex: number;
/**
* @description
*/
title: string;
/**
* @description
*/
content: string;
/**
* @description
* @default false
*/
visible: boolean;
/**
* @description
* @default false
*/
destroyOnClose?: boolean;
/**
* @description
*/
primaryButtonText: string;
/**
* @description
*/
secondaryButtonText: string;
/**
* @description
*/
cancelButtonText: string;
/**
* @description
*/
primaryButtonStyle: string;
/**
* @description
*/
secondaryButtonStyle: string;
/**
* @description
*/
cancelButtonStyle: string;
/**
* @description
*/
onClose: () => void;
/**
* @description
*/
onPrimaryButtonTap: () => void;
/**
* @description
*/
onSecondaryButtonTap: () => void;
/**
* @description
*/
onCancelButtonTap: () => void;
}
export declare const ModalDefaultProps: Partial<IModalProps>;
export declare const ModalFunctionalProps: Partial<IModalProps>;