search-react

1.0.4Β β€’Β PublicΒ β€’Β Published

Search-react

πŸ”Ž search react component with a cancel button and a nice animation

See the component storybook

Steps to use it

1.Install the component yarn add search-react

2.Use it

import Search from 'search-react' 

<Search getTerm={term => console.log(term)}>

the only prop required is getTerm: a function that returns the search term and then you can do whatever you want with it

Readme

Keywords

Package Sidebar

Install

npm i search-react

Weekly Downloads

0

Version

1.0.4

License

ISC

Last publish

Collaborators

  • jimeno0