import { connect } from 'react-redux' ; import { bindActionCreators } from 'redux' ; import * as actions from '../actions' ; import DeleteDialog from '../components/DeleteDialog/' ; const mapStateToProps = ( state ) => { return { featureName : state . get ( 'deleteDialog' ) && state . get ( 'deleteDialog' ) . featureName , } ; } ; const mapDispatchToProps = ( dispatch , ownProps ) => bindActionCreators ( ( actions as any ) , dispatch ) ; const DeleteDialogContainer = connect ( mapStateToProps , mapDispatchToProps ) ( DeleteDialog ) ; export default DeleteDialogContainer ;