Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Search extends Component {
- state = {
- searchTerm: ''
- };
- handleSearchTermChange = (event) => {
- this.setState({ searchTerm: event.target.value });
- };
- render() {
- return (
- <div className="search"></div>
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment