import { connect } from 'react-redux' ; import { FlyoutBody } from './flyout_body' ; import { MapStoreState } from '../../../reducers/store' ; import { getMapColors } from '../../../selectors/map_selectors' ; function mapStateToProps ( state ) { return { mapColors : getMapColors ( state ) , } ; } const connected = connect ( mapStateToProps , { } ) ( FlyoutBody ) ; export { connected as FlyoutBody } ;