Created
October 31, 2017 13:19
-
-
Save Chalarangelo/014ec4dc6a2212e82fad817277d5d58e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input type="search" className="searchBox" onChange={event => { | |
if(event.currentTarget.value) this.searchPost(event.currentTarget.value); | |
else this.viewAll(); | |
}}/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment