release 0.3.4
This commit is contained in:
20
apps/web/ui/search-input.tsx
Normal file
20
apps/web/ui/search-input.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import "@/styles/search-btn.css";
|
||||
|
||||
export default function SearchInput({
|
||||
onChange,
|
||||
}: {
|
||||
onChange: (value: string) => void;
|
||||
}) {
|
||||
return (
|
||||
<label className="search-label">
|
||||
<input
|
||||
type="text"
|
||||
name="text"
|
||||
className="input"
|
||||
placeholder="Search..."
|
||||
onChange={(e) => onChange(e.target.value)}
|
||||
/>
|
||||
<kbd className="search-button">⌘</kbd>
|
||||
</label>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user