feat: use tooltip for search button
This commit is contained in:
parent
5288b138ae
commit
0233d803fc
1 changed files with 6 additions and 2 deletions
|
|
@ -34,8 +34,12 @@ export default function SearchBar() {
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
className="bg-orange-200 border-2 border-orange-400 py-2 px-3 rounded-l-xl outline-0 w-full placeholder:text-black/40"
|
className="bg-orange-200 border-2 border-orange-400 py-2 px-3 rounded-l-xl outline-0 w-full placeholder:text-black/40"
|
||||||
/>
|
/>
|
||||||
<button onClick={handleSearch} className="bg-orange-400 p-2 w-12 rounded-r-xl flex justify-center items-center cursor-pointer text-2xl">
|
<button
|
||||||
<Icon icon="ic:baseline-search" className="transition-transform hover:scale-110 active:95" />
|
onClick={handleSearch}
|
||||||
|
data-tooltip="Search"
|
||||||
|
className="bg-orange-400 p-2 w-12 rounded-r-xl flex justify-center items-center cursor-pointer text-2xl"
|
||||||
|
>
|
||||||
|
<Icon icon="ic:baseline-search" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue