Skip to content

Instantly share code, notes, and snippets.

@danielrudn

danielrudn/Search.jsx Secret

Created Jul 17, 2018
Embed
What would you like to do?
first replacement
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>
);
}
}
@Br3nda

This comment has been minimized.

Copy link

@Br3nda Br3nda commented Oct 28, 2020

app/javascript/components/Search.jsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.