export default connect have two functions redux react nested form code example Example: redux import connect import { connect } from 'react-redux'