Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.84 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.84 KB

Welcome to @glweems/usesearch 👋

Node.js CI Version Twitter: garrettlweems

React hook for url searches

Demo

Install

npm install @glweems/usesearch

Usage

import useSearch from @glweems/useSearch";

function SearchInput() {
  const { inputProps, buttonProps } = useSearch();
  return (
    <div>
      <input {...inputProps} />
      <button {...buttonProps}>clear</button>
    </div>
  );
}

Author

👤 Garrett Weems [email protected] (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 [email protected] (https://glweems.com).
This project is MIT licensed.


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