You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
501 B
20 lines
501 B
<script setup lang="ts">
|
|
import { SearchModal } from "./components";
|
|
import { useBoolean } from "../../hooks/useBoolean";
|
|
import Search from "@iconify-icons/ep/search";
|
|
|
|
const { bool: show, toggle } = useBoolean();
|
|
function handleSearch() {
|
|
toggle();
|
|
}
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
class="search-container w-[40px] h-[48px] flex-c cursor-pointer navbar-bg-hover"
|
|
@click="handleSearch"
|
|
>
|
|
<IconifyIconOffline :icon="Search" />
|
|
</div>
|
|
<SearchModal v-model:value="show" />
|
|
</template>
|