admin/seed/plop-templates/component/componentIndexSmart.hbs
2025-05-14 21:42:26 +02:00

16 lines
429 B
Handlebars

import { connect } from 'react-redux';
import { StoreState } from 'store/rootReducer';
import {{pascalCase name}}, { StateProps, DispatchProps, OwnProps } from './{{pascalCase name}}';
const mapStateToProps = (state: StoreState): {} => ({});
const mapDispatchToProps = {};
const Wrapped = connect<StateProps, DispatchProps, OwnProps>(
mapStateToProps,
mapDispatchToProps,
)({{pascalCase name}});
export default Wrapped;