Как украсить экспортный компонент с помощью reduxForm, если withStyles HOC вызывается togeteher? - PullRequest
0 голосов

Я хочу украсить свой компонент с помощью reduxForm, но вызывается функция withStyles. Как я могу украсить?

const mapStateToProps = state => ({summary: state.dashboard.summary})
const mapDispatchToProps = dispatch => bindActionCreators({dashboardList}, dispatch)
export default connect(mapStateToProps, mapDispatchToProps)(Dashboard);

export default withStyles(dashboardStyle)(Dashboard);(Here!! How can i do it???)
...