UNPKG

antd-mobile-taro-ui

Version:

以antd-mobile为设计标准,基于taro框架的微信小程序组件库

19 lines (18 loc) 709 B
import { NativeProps } from 'antd-mobile/es/utils/native-props'; import React from 'react'; import { PropagationEvent } from 'antd-mobile/es/utils/with-stop-propagation'; import { ITouchEvent } from '@tarojs/components'; export declare type MaskProps = { visible?: boolean; onMaskClick?: (event: ITouchEvent) => void; destroyOnClose?: boolean; forceRender?: boolean; disableBodyScroll?: boolean; color?: 'black' | 'white'; opacity?: 'default' | 'thin' | 'thick' | number; afterShow?: () => void; afterClose?: () => void; stopPropagation?: PropagationEvent[]; children?: React.ReactNode; } & NativeProps<'--z-index'>; export declare const Mask: React.FC<MaskProps>;