diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-05 12:00:12 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-11-05 12:00:12 +0700 |
| commit | aa1e0a34f5f332026d386b197d62c2cc3d9f43ad (patch) | |
| tree | 3a13b9f9009edc4ce54cf848ae4d7a146bd0980e /src-migrate/modules/header/components | |
| parent | c51333688f9415f4d75f0123ba27a248ae1bc768 (diff) | |
<Miqdad> cr prod detail price
Diffstat (limited to 'src-migrate/modules/header/components')
| -rw-r--r-- | src-migrate/modules/header/components/SearchBar.tsx | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/src-migrate/modules/header/components/SearchBar.tsx b/src-migrate/modules/header/components/SearchBar.tsx index ec17abe8..750860ba 100644 --- a/src-migrate/modules/header/components/SearchBar.tsx +++ b/src-migrate/modules/header/components/SearchBar.tsx @@ -1,24 +1,22 @@ - -import { MagnifyingGlassIcon } from '@heroicons/react/24/outline' +import { MagnifyingGlassIcon } from '@heroicons/react/24/outline'; const SearchBar = () => { return ( - <form className="flex-1 flex items-center"> + <form className='flex-1 flex items-center'> <input - type="text" - className="form-input p-3 rounded-r-none border-r-0 border-gray-300 focus:border-gray-300" - placeholder="Ketik nama / part number / merk" + type='text' + className='form-input p-3 rounded-r-none border-r-0 border-gray-300 focus:border-gray-300' + placeholder='Ketik nama / part number / merek' /> <button - type="submit" - className="rounded-r border border-l-0 border-gray-300 px-2 py-2.5" + type='submit' + className='rounded-r border border-l-0 border-gray-300 px-2 py-2.5' > <MagnifyingGlassIcon className='w-6' /> </button> - </form> - ) -} + ); +}; -export default SearchBar
\ No newline at end of file +export default SearchBar; |
