antd-mobile-taro-ui
Version:
以antd-mobile为设计标准,基于taro框架的微信小程序组件库
34 lines (33 loc) • 1.05 kB
TypeScript
import React from 'react';
import { ITouchEvent } from '@tarojs/components';
import { PropagationEvent } from 'antd-mobile/es/utils/with-stop-propagation';
import { MaskProps } from '../mask';
export declare type PopupBaseProps = {
afterClose?: () => void;
afterShow?: () => void;
bodyClassName?: string;
bodyStyle?: React.CSSProperties;
closeOnMaskClick?: boolean;
destroyOnClose?: boolean;
disableBodyScroll?: boolean;
forceRender?: boolean;
mask?: boolean;
maskClassName?: string;
maskStyle?: MaskProps['style'];
onClick?: (event: ITouchEvent) => void;
onClose?: () => void;
onMaskClick?: (event: ITouchEvent) => void;
showCloseButton?: boolean;
stopPropagation?: PropagationEvent[];
visible?: boolean;
};
export declare const defaultPopupBaseProps: {
closeOnMaskClick: boolean;
destroyOnClose: boolean;
disableBodyScroll: boolean;
forceRender: boolean;
mask: boolean;
showCloseButton: boolean;
stopPropagation: string[];
visible: boolean;
};