UNPKG

@table-library/react-table-library

Version:
4 lines (3 loc) 381 B
import { State, Action, MiddlewareFunction } from '@table-library/react-table-library/types/common'; declare const useReducerWithMiddleware: (reducer: (state: State, action: Action) => State, controlledState: State, middlewareFns: MiddlewareFunction[], afterwareFns: MiddlewareFunction[], context: any) => [State, (action: Action) => void]; export { useReducerWithMiddleware };