UNPKG

react-tangle

Version:

A Simple State Management Library in React

10 lines (9 loc) 344 B
import * as React from 'react'; import { ITangleContext } from './types'; export declare const TangleContext: React.Context<ITangleContext<any>>; interface ITangleProviderProps<S = any> { initial?: S; children: React.ReactNode; } export declare function TangleProvider<S>(props: ITangleProviderProps<S>): JSX.Element | null; export {};