UNPKG

@jdcfe/yep-react

Version:

一套移动端的React组件库

31 lines (30 loc) 692 B
/** * Created by zhaohongyang1 on 18-4-26. */ import * as React from 'react'; export interface MaskProps { prefixCls?: string; className?: string; /** * Whather mask should be transparent (no color) * */ transparent?: boolean; onClick?: (e?: any) => void; usePortal?: boolean; } /** * screen mask, use in `Dialog`, `ActionSheet`, `Popup`. * */ export default class Mask extends React.PureComponent<MaskProps, any> { static defaultProps: { prefixCls: string; transparent: boolean; }; destroy: () => void; show: () => void; componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; }