feat: supports specifying the position of the preference button (#4154)

This commit is contained in:
Vben
2024-08-14 23:02:39 +08:00
committed by GitHub
parent 9c6e059aac
commit 30223f18db
15 changed files with 121 additions and 21 deletions

View File

@@ -0,0 +1,13 @@
<script lang="ts" setup>
import { Settings } from '@vben/icons';
import { VbenIconButton } from '@vben-core/shadcn-ui';
import Preferences from './preferences.vue';
</script>
<template>
<Preferences>
<VbenIconButton>
<Settings class="size-4" />
</VbenIconButton>
</Preferences>
</template>