UNPKG

444 BTypeScriptView Raw
1/// <reference types="react" />
2import type { CSSMotionProps } from 'rc-motion';
3import type { TransitionNameType, AnimationType } from '../interface';
4export interface MaskProps {
5 prefixCls: string;
6 visible?: boolean;
7 zIndex?: number;
8 mask?: boolean;
9 maskMotion?: CSSMotionProps;
10 maskAnimation?: AnimationType;
11 maskTransitionName?: TransitionNameType;
12}
13export default function Mask(props: MaskProps): JSX.Element;