UNPKG

r-magnet

Version:

A state management library for React

5 lines (4 loc) 215 B
import React from 'react'; import { Store } from '../typeHelper'; export declare function createStoreHook(context?: React.Context<Store<any>>): () => Store<any>; export declare const useStore: () => Store<any>;