UNPKG

redext

Version:

A simple global store based on React Context and Hooks

26 lines (23 loc) 649 B
import { PluginConfig } from '../../types/index.js'; declare const _default: (config?: PluginConfig) => { config: { models: { loading: { name: string; state: { global: number; models: {}; effects: {}; }; effects: () => { show: () => void; hide: () => void; }; reducers: { updateState: (state: any, payload: any) => any; }; }; }; }; }; export { _default as default };