We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7549895 commit cee8258Copy full SHA for cee8258
components/searchForm.js
@@ -0,0 +1,14 @@
1
+export const SearchForm = ({ handleSearch }) => {
2
+ return (
3
+ <div className="flex flex-col items-center md:text-base text-xs">
4
+ <div className="flex min-[1126px]:justify-end justify-center w-full">
5
+ <form className="p-2 bg-gray-700 rounded-md flex flex-row" onSubmit={(e) => handleSearch(e)}>
6
+ <div className="mx-2">
7
+ <label className="block text-white">Search Text:</label>
8
+ <input type="text" name="value" required></input>
9
+ </div>
10
+ </form>
11
12
13
+ );
14
+};
0 commit comments