doc: update SearchBar components with the UX, but will come back later to give interconnectivity

This commit is contained in:
Leon Xu committed 2023-12-30 11:44:15 -08:00
1 parent 44d74a8e90
commit 49ac2e1475
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
"use client";
const SearchBar = () => {
const handleSubmit = () => {};
return (
<form className="flex flex-wrap gap-4 mt-12" onSubmit={handleSubmit}>
<input
type="text"
placeholder="Enter product link"
className="searchbar-input"
/>
<button type="submit" className="searchbar-btn">
Search
</button>
</form>
);
};
export default SearchBar;