I have a reusable SearchHeader component that has a controlled input and passes the data from the input to his parents
SearchHeader.js