mirror of
https://github.com/rustfs/console.git
synced 2026-11-03 06:33:31 +08:00
- Auto-format all files to comply with Prettier rules - Fix code style issues in 545 files
15 lines
418 B
Vue
15 lines
418 B
Vue
<script setup lang="ts">
|
|
import type { SelectLabelProps } from 'reka-ui'
|
|
import type { HTMLAttributes } from 'vue'
|
|
import { SelectLabel } from 'reka-ui'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<SelectLabelProps & { class?: HTMLAttributes['class'] }>()
|
|
</script>
|
|
|
|
<template>
|
|
<SelectLabel :class="cn('py-1.5 pl-8 pr-2 text-sm font-semibold', props.class)">
|
|
<slot />
|
|
</SelectLabel>
|
|
</template>
|