2025-02-01 04:59:28 +08:00
|
|
|
import { SearchIcon } from '~/components/icons/search'
|
|
|
|
|
import { Button } from '~/components/ui/button'
|
|
|
|
|
|
2025-02-01 01:19:01 +08:00
|
|
|
export const HeaderSearch = () => {
|
|
|
|
|
return (
|
2025-02-01 04:59:28 +08:00
|
|
|
<form className="flex flex-1 justify-between gap-[15px] px-[35px]">
|
2025-02-01 01:19:01 +08:00
|
|
|
<input
|
|
|
|
|
placeholder="Cari..."
|
2025-02-01 04:59:28 +08:00
|
|
|
className="flex-1 placeholder:text-white focus:ring-0 focus:outline-none"
|
2025-02-01 05:51:11 +08:00
|
|
|
size={1}
|
2025-02-01 01:19:01 +08:00
|
|
|
/>
|
2025-02-01 04:59:28 +08:00
|
|
|
<Button
|
|
|
|
|
type="submit"
|
|
|
|
|
variant="icon"
|
|
|
|
|
size="icon"
|
|
|
|
|
className="[&_svg]:size-[30px]"
|
|
|
|
|
>
|
|
|
|
|
<SearchIcon />
|
|
|
|
|
</Button>
|
2025-02-01 01:19:01 +08:00
|
|
|
</form>
|
|
|
|
|
)
|
|
|
|
|
}
|