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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.4
    3
    • latest

Version History

Package Sidebar

Install

npm i search-react

Weekly Downloads

6

Version

1.0.4

License

ISC

Last publish

Collaborators

  • jimeno0