-
-
Save danielrudn/d43b7a73d12dce41625d3c48648b5570 to your computer and use it in GitHub Desktop.
first replacement
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
import React from 'react'; | |
export default class Search extends React.Component { | |
render() { | |
return ( | |
<div className="ui raised segment no padding"> | |
<form method="GET" action="search"> | |
<div className="ui fluid icon transparent large input"> | |
<input name="query" type="text" placeholder="Search apps..." autoComplete="off" /> | |
<button type="submit"> | |
<i className="search icon"></i> | |
</button> | |
</div> | |
</form> | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
app/javascript/components/Search.jsx