trigger.vue 459 B

1234567891011121314151617181920
  1. <script setup lang="ts">
  2. import { VbenButton } from '@vben-core/shadcn-ui';
  3. import { $t } from '@vben/locales';
  4. import IconSetting from './icons/setting.vue';
  5. defineOptions({
  6. name: 'PreferenceTrigger',
  7. });
  8. </script>
  9. <template>
  10. <VbenButton
  11. class="bg-primary flex-col-center h-9 w-9 cursor-pointer rounded-l-md rounded-r-none border-none"
  12. :title="$t('preference.preferences')"
  13. >
  14. <IconSetting class="text-lg" />
  15. </VbenButton>
  16. </template>