src/packages/recompose/withHandlers.js
Function withHandlers
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const withHandlers = handlers => BaseComponent => {
const factory = createFactory(BaseComponent)
class WithHandlers extends Component {
handlers = mapValues(
typeof handlers === 'function' ? handlers(this.props) : handlers,