This is a React component for a search bar that allows users to search for information and displays the results. The component uses the useSearch custom hook to handle the search logic and manage the search state.
Using json place holder as api
To use the SearchBar component, follow these steps:
Clone the repository to your local machine and cd into.
Pending (for time limitations)
- Add unit tests
Run
npm install
Start the dev server
npm run dev
Go to http://localhost:5173/
License This component is licensed under the MIT License.