Skip to content

Repository files navigation

Welcome to @glweems/usesearch 👋

Node.js CIVersionTwitter: garrettlweems

React hook for url searches

Demo

Install

npm install @glweems/usesearch

Usage

importuseSearchfrom @glweems/useSearch";
functionSearchInput(){const{inputProps,buttonProps}=useSearch();return(<div><input{...inputProps}/><button{...buttonProps}>clear</button></div>);}

Author

👤 Garrett Weems gwgraphicdesign@gmail.com (https://glweems.com)

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Garrett Weems gwgraphicdesign@gmail.com (https://glweems.com).
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

About

Created with CodeSandbox

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages