import { connect } from 'react-redux';
import { StoreState } from 'store/rootReducer';
import { withRouter } from 'react-router-dom';

import ModuleHeader, { StateProps, DispatchProps, OwnProps } from './ModuleHeader';

const mapStateToProps = (state: StoreState): {} => ({});

const mapDispatchToProps = {};

const Wrapped = connect<StateProps, DispatchProps, OwnProps>(
  mapStateToProps,
  mapDispatchToProps,
)(ModuleHeader);

export default withRouter(Wrapped);
