8 lines
413 B
TypeScript
8 lines
413 B
TypeScript
import * as React from 'react';
|
|
export declare const createContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [{
|
|
(props: ContextValueType & {
|
|
children: React.ReactNode;
|
|
}): import("react/jsx-runtime").JSX.Element;
|
|
displayName: string;
|
|
}, (consumerName: string) => ContextValueType];
|
|
//# sourceMappingURL=context.d.ts.map
|