how to export mapDispatchToProps and mapstate code example Example: redux import connect import { connect } from 'react-redux'