reablocks
Version:
Component library for React
27 lines (25 loc) • 601 B
TypeScript
import { BackdropTheme } from './BackdropTheme';
import { FC, MouseEvent } from 'react';
export interface BackdropProps {
/**
* The z-index of the backdrop.
*/
zIndex?: number;
/**
* The index of the portal.
*/
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>;