1 | import { NativeProps } from '../../utils/native-props';
|
2 | import React from 'react';
|
3 | import type { FC, ReactNode } from 'react';
|
4 | import { GetContainer } from '../../utils/render-to-container';
|
5 | import { PropagationEvent } from '../../utils/with-stop-propagation';
|
6 | export declare type MaskProps = {
|
7 | visible?: boolean;
|
8 | onMaskClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
9 | destroyOnClose?: boolean;
|
10 | forceRender?: boolean;
|
11 | disableBodyScroll?: boolean;
|
12 | color?: 'white' | 'black' | (string & {});
|
13 | opacity?: 'default' | 'thin' | 'thick' | number;
|
14 | getContainer?: GetContainer;
|
15 | afterShow?: () => void;
|
16 | afterClose?: () => void;
|
17 | stopPropagation?: PropagationEvent[];
|
18 | children?: ReactNode;
|
19 | } & NativeProps<'--z-index'>;
|
20 | export declare const Mask: FC<MaskProps>;
|