Creating a search form using React.js