1 | import React from 'react'
|
2 | import { connect } from 'react-redux'
|
3 |
|
4 | export default function createReduxConnector(WrappedComponent, mapStateToProps, mapDispatchToProps, mergeProps, options) {
|
5 | return connect(mapStateToProps, mapDispatchToProps, mergeProps, options)(WrappedComponent)
|
6 | } |
\ | No newline at end of file |