Search Bar
Filter products by
Last updated
Filter products by
Last updated
Component: <Search/>
Path: /components/home/search.tsx
Import:
A basic search input controlled by a useState
(searchTerm
and setSearchTerm
) so you can re-use it wherever you need it.
By default, this search bar is only used on components/main-layout.tsx
, check this file if you want to see an example.