import { connect , MapDispatchToProps , MapStateToProps } from 'react-redux' ; import { Dispatch } from 'redux' ; import SearchArticleModal , { ISearchArticleModalDispatchProps , ISearchArticleModalOwnProps , ISearchArticleModalStateProps , } from '../components/SearchArticleModal' ; import { IReduxAction , IReduxState } from '../schemas' ; const mapStateToProps = ( state ) => ( { articles : state . articles . list , } ) ; const mapDispatchToProps = ( dispatch ) => ( { } ) ; export default connect ( mapStateToProps , mapDispatchToProps ) ( SearchArticleModal ) ;