mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-29 07:58:16 +03:00
7a52a6122a
Co-authored-by: Clovis <clovis@synapse-medicine.com>
19 lines
570 B
Vue
19 lines
570 B
Vue
<script setup lang="ts">
|
|
const model = defineModel<boolean>()
|
|
</script>
|
|
|
|
<template>
|
|
<NavBottomMoreMenu
|
|
v-slot="{ toggleVisible, show }" v-model="model!" flex flex-row items-center
|
|
place-content-center h-full flex-1 cursor-pointer
|
|
>
|
|
<button
|
|
flex items-center place-content-center h-full flex-1 class="select-none"
|
|
:class="show ? '!text-primary' : ''"
|
|
:aria-label="$t('nav.more_menu')"
|
|
@click="toggleVisible"
|
|
>
|
|
<span :class="show ? 'i-ri:close-fill' : 'i-ri:more-fill'" />
|
|
</button>
|
|
</NavBottomMoreMenu>
|
|
</template>
|