import { connect } from 'react-redux' ; import { AttributionControl } from './attribution_control' ; import { getLayerList } from '../../../selectors/map_selectors' ; import { getIsFullScreen } from '../../../selectors/ui_selectors' ; import { MapStoreState } from '../../../reducers/store' ; function mapStateToProps ( state ) { return { layerList : getLayerList ( state ) , isFullScreen : getIsFullScreen ( state ) , } ; } const connected = connect ( mapStateToProps , { } ) ( AttributionControl ) ; export { connected as AttributionControl } ;