Created
September 16, 2015 18:00
-
-
Save swaathi/5b47180b9f32db5a17b4 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
var SongsSearch = React.createClass({ | |
render () { | |
return ( | |
<div> | |
<form ref="form" action={ this.props.searchPath } acceptCharset="UTF-8" method="get"> | |
<p><input ref="query" name="query" placeholder="Search here." onChange={ this.props.submitPath } /></p> | |
</form> | |
<a href="#" onClick={ this.props.cancelPath }>Cancel</a> | |
</div> | |
); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment