UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

10 lines (9 loc) 480 B
import { GetStylesApi, MantineRadius } from '../../core'; import type { DrawerRootFactory } from './DrawerRoot'; export type ScrollAreaComponent = React.FC<any>; export interface DrawerContextValue { scrollAreaComponent: ScrollAreaComponent | undefined; getStyles: GetStylesApi<DrawerRootFactory>; radius: MantineRadius | undefined; } export declare const DrawerProvider: import("react").Context<DrawerContextValue | null>, useDrawerContext: () => DrawerContextValue;