zarm
Version:
基于 React 的移动端UI库
11 lines (10 loc) • 408 B
TypeScript
import type { BaseTransitionProps } from '../transition/interface';
import type { MountContainer } from '../utils/dom';
export interface BaseMaskProps extends BaseTransitionProps {
color?: 'black' | 'white' | 'transparent';
opacity?: 'normal' | 'light' | 'dark' | number;
animationDuration?: number;
mountContainer?: MountContainer;
afterOpen?: () => void;
afterClose?: () => void;
}