react-plot
Version:
Library of React components to render SVG 2D plots.
10 lines • 355 B
TypeScript
import type { ReactNode } from 'react';
export declare function createNestableContext<T>(defaultValue: T): {
useNestedContext: (id?: string) => T;
NestedContextProvider: (props: {
id?: string;
value: T;
children: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
};
//# sourceMappingURL=nestableContext.d.ts.map