UNPKG

reablocks

Version:
28 lines (27 loc) 638 B
import { FC, MouseEvent } from 'react'; import { BackdropTheme } from './BackdropTheme'; export interface BackdropProps { /** * The z-index of the backdrop. * @default 998 */ zIndex?: number; /** * The index of the portal. * @default 0 */ portalIndex?: number; /** * Additional class names to apply to the backdrop. */ className?: string; /** * Theme for the Backdrop. */ theme?: BackdropTheme; /** * Callback for when the backdrop is clicked. */ onClick?: (event: MouseEvent) => void; } export declare const Backdrop: FC<BackdropProps>;