UNPKG

redext

Version:

A simple global store based on React Context and Hooks

6 lines (3 loc) 216 B
import { ComponentType } from 'react'; declare const connect: <T extends unknown>(mapStateToProps: any, mapDispatchToProps: any) => (Component: ComponentType<T>) => ComponentType<T>; export { connect as default };