React-Redux Dispatch Action from Component
doSearchClick
will be passed in the props object. So you need to type props.doSearchClick
to access it.
This:
SearchForm.propTypes = { doSearchClick: PropTypes.func.isRequired};
Means that your SearchForm component is expecting to get a function named doSearchClick as props from its father.
If the father passed this props the child should access it via
props.doSearchClick