UNPKG

react-hooks-global-states

Version:

A package to easily handle global state across your React components using hooks.

8 lines (7 loc) 258 B
import type { CreateGlobalState } from './types'; /** * Creates a global state hook */ export declare const createGlobalState: CreateGlobalState; export default createGlobalState; export type { InferActionsType, InferStateApi, AnyActions } from './types';