import * as React from 'react'; import { Omit, StandardProps } from '@material-ui/core'; import { FadeProps } from '@material-ui/core/Fade'; import { TransitionProps } from '@material-ui/core/transitions/transition'; export interface BackdropProps extends StandardProps< React.HTMLAttributes & Partial>, BackdropClassKey > { /** * The content of the component. */ children?: React.ReactNode; /** * If `true`, the backdrop is invisible. * It can be used when rendering a popover or a custom select component. */ invisible?: boolean; /** * If `true`, the backdrop is open. */ open: boolean; /** * The duration for the transition, in milliseconds. * You may specify a single timeout for all transitions, or individually with an object. */ transitionDuration?: TransitionProps['timeout']; } export type BackdropClassKey = 'root' | 'invisible'; /** * * Demos: * * - [Backdrop](https://mui.com/components/backdrop/) * * API: * * - [Backdrop API](https://mui.com/api/backdrop/) * - inherits [Fade API](https://mui.com/api/fade/) */ export default function Backdrop(props: BackdropProps): JSX.Element;