1 | import * as React from 'react';
|
2 | import { StandardProps } from '..';
|
3 | import { FadeProps } from '../Fade';
|
4 | import { TransitionProps } from '../transitions/transition';
|
5 |
|
6 | export interface BackdropProps
|
7 | extends StandardProps<
|
8 | React.HTMLAttributes<HTMLDivElement> & Partial<FadeProps>,
|
9 | BackdropClassKey
|
10 | > {
|
11 | |
12 |
|
13 |
|
14 |
|
15 | invisible?: boolean;
|
16 | |
17 |
|
18 |
|
19 | open: boolean;
|
20 | |
21 |
|
22 |
|
23 |
|
24 | transitionDuration?: TransitionProps['timeout'];
|
25 | }
|
26 |
|
27 | export type BackdropClassKey = 'root' | 'invisible';
|
28 |
|
29 | export default function Backdrop(props: BackdropProps): JSX.Element;
|