import { connect } from 'react-redux' ; import { State } from '../../reducers' ; import { NumberViewerComponent } from './number-viewer.component' ; const mapStateToProps = ( state ) => ( { numberCollection : state . numberCollection , } ) ; const mapDispatchToProps = dispatch => ( { } ) ; export const NumberViewerContainer = connect ( mapStateToProps , mapDispatchToProps ) ( NumberViewerComponent ) ;