22 lines
606 B
TypeScript
22 lines
606 B
TypeScript
import * as React from 'react';
|
|
import { StandardProps } from '..';
|
|
import { FadeProps } from '../transitions/Fade';
|
|
import { TransitionProps } from '../transitions/transition';
|
|
|
|
export interface BackdropProps
|
|
extends StandardProps<
|
|
React.HTMLAttributes<HTMLDivElement> & Partial<FadeProps>,
|
|
BackdropClassKey
|
|
> {
|
|
invisible?: boolean;
|
|
onClick?: React.ReactEventHandler<{}>;
|
|
open: boolean;
|
|
transitionDuration?: TransitionProps['timeout'];
|
|
}
|
|
|
|
export type BackdropClassKey = 'root' | 'invisible';
|
|
|
|
declare const Backdrop: React.ComponentType<BackdropProps>;
|
|
|
|
export default Backdrop;
|