Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Search Functionality #3

Open
csliva opened this issue Jan 22, 2018 · 0 comments
Open

Implement Search Functionality #3

csliva opened this issue Jan 22, 2018 · 0 comments

Comments

@csliva
Copy link
Owner

csliva commented Jan 22, 2018

// @flow
import React, { Component} from 'react';
import { connect } from 'react-redux';
class Search extends Component {
render() {
return(
<p className="control has-icons-left">
<input
className="search input"
onChange={event => console.log(event.target.value)}
placeholder='Search..'
/>
<span className="icon is-small is-left">
<i className="fa fa-search"></i>
</span>
</p>
);
}
}
export default Search;

Search library redux-search already added to package.json and pulled by yarn.
Need to implement the functionality to the view.
Docs here: https://github.com/bvaughn/redux-search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant