UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

5 lines (4 loc) 256 B
export declare function createSafeContext<ContextValue>(errorMessage: string): readonly [({ children, value }: { value: ContextValue; children: React.ReactNode; }) => import("react/jsx-runtime").JSX.Element, () => ContextValue & ({} | undefined)];