UNPKG

refun

Version:

A collection of React Hook-enabled functions that compose harmoniously with each other. Similar to `recompose`, but:

12 lines (10 loc) 224 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.mapWithProps = void 0; const mapWithProps = getFn => props => { return { ...props, ...getFn(props) }; }; exports.mapWithProps = mapWithProps;