UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

19 lines (18 loc) 969 B
import { BoxProps, ElementProps, MantineRadius, MantineShadow } from '../../core'; import { TransitionOverride } from '../Transition'; export interface ModalBaseContentProps extends BoxProps, ElementProps<'div'> { /** Props passed down to the `Transition` component */ transitionProps?: TransitionOverride; /** Key of `theme.shadows` or any valid CSS value to set `box-shadow` */ shadow?: MantineShadow; /** Key of `theme.radius` or any valid CSS value to set border-radius, numbers are converted to rem @default theme.defaultRadius */ radius?: MantineRadius; } interface _ModalBaseContentProps extends ModalBaseContentProps { innerProps: React.ComponentProps<'div'>; } export declare function ModalBaseContent({ transitionProps, className, innerProps, onKeyDown, style, ref, ...others }: _ModalBaseContentProps): import("react/jsx-runtime").JSX.Element; export declare namespace ModalBaseContent { var displayName: string; } export {};