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.
17 lines
426 B
17 lines
426 B
<script lang="ts" setup> |
|
import SettingDrawer from './SettingDrawer' |
|
import { Icon } from '@/components/Icon' |
|
|
|
import { useDrawer } from '@/components/Drawer' |
|
|
|
defineOptions({ name: 'SettingButton' }) |
|
|
|
const [register, { openDrawer }] = useDrawer() |
|
</script> |
|
|
|
<template> |
|
<div @click="openDrawer(true)"> |
|
<Icon class="h-4 w-4" icon="ion:settings-outline" /> |
|
<SettingDrawer @register="register" /> |
|
</div> |
|
</template>
|
|
|