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

96 lines
2.0 KiB
TypeScript
Raw Normal View History

2024-11-10 07:01:22 +00:00
import { IBaseProps } from '../_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?: string;
/**
* @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>;