UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

14 lines (13 loc) 757 B
import { ElementProps } from '../../core'; import { OverlayProps } from '../Overlay'; import { TransitionOverride } from '../Transition'; export interface ModalBaseOverlayProps extends Omit<OverlayProps, 'styles' | 'classNames' | 'variant' | 'vars'>, ElementProps<'div', 'color'> { /** Props passed down to the `Transition` component */ transitionProps?: TransitionOverride; /** Determines whether the overlay should be visible. By default, has the same value as `opened` state. */ visible?: boolean; } export declare function ModalBaseOverlay({ onClick, transitionProps, style, visible, ...others }: ModalBaseOverlayProps): import("react/jsx-runtime").JSX.Element; export declare namespace ModalBaseOverlay { var displayName: string; }