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.

18 lines
426 B

<script lang="ts" setup>
2 years ago
import SettingDrawer from './SettingDrawer'
2 years ago
import { Icon } from '@/components/Icon'
2 years ago
import { useDrawer } from '@/components/Drawer'
defineOptions({ name: 'SettingButton' })
2 years ago
const [register, { openDrawer }] = useDrawer()
</script>
<template>
<div @click="openDrawer(true)">
2 years ago
<Icon class="h-4 w-4" icon="ion:settings-outline" />
<SettingDrawer @register="register" />
</div>
</template>