UNPKG

redext

Version:

A simple global store based on React Context and Hooks

11 lines (8 loc) 322 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { Store, State } from './types/index.mjs'; interface ProviderProps { store: Store<any>; initialValue: State<any>; } declare const Provider: (props: ProviderProps) => react_jsx_runtime.JSX.Element; export { type ProviderProps, Provider as default };