UNPKG

violet-paginator

Version:

Display, paginate, sort, filter, and update items from the server. violet-paginator is a complete list management library for react/redux applications.

16 lines (12 loc) 354 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = resolveActions; var _flux = require('./flux'); function resolveActions(props, actionSelect) { if (typeof actionSelect === 'function') { return actionSelect((0, _flux.getFlux)().dispatch, props); } return (0, _flux.bindActions)(actionSelect); }