how to i add function to a function based componenet with connect redux code example Example: redux import connect import { connect } from 'react-redux'