UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

6 lines (5 loc) 261 B
import React from 'react'; export declare function createSafeContext<ContextValue>(errorMessage: string): readonly [({ children, value }: { value: ContextValue; children: React.ReactNode; }) => React.JSX.Element, () => ContextValue & ({} | undefined)];