import { connect } from 'react-redux' ; import { RightSideControls } from './right_side_controls' ; import { getMapSettings } from '../../selectors/map_selectors' ; import { MapStoreState } from '../../reducers/store' ; function mapStateToProps ( state ) { return { settings : getMapSettings ( state ) , } ; } const connected = connect ( mapStateToProps , { } ) ( RightSideControls ) ; export { connected as RightSideControls } ;