generator-itworxhub
Version:
Tool to help the front-end developer at ITWORX HUB Team to save his time by scaffolding the repetitive tasks
26 lines (21 loc) • 510 B
JavaScript
import React from 'react';
import { connect } from 'react-redux';
<% if (hasStyleSheet) { %>
import styles from './styles.scss';
<% } %>
const mapStateToProps = (state) => {
return {}
}
const mapDispatchToProps = (dispatch) => {
return {}
}
(mapStateToProps, mapDispatchToProps)
export default class <%= componentName %> extends React.Component {
state = {}
render(){
return (
<div className='<%= componentName %>Container'>
</div>
)
}
}