Files
litlyx/dashboard/components/ui/select/SelectSeparator.vue
2025-11-28 16:49:20 +01:00

22 lines
591 B
Vue

<script setup lang="ts">
import { cn } from '@/lib/utils'
import { SelectSeparator, type SelectSeparatorProps } from 'reka-ui'
import { computed, type HTMLAttributes } from 'vue'
const props = defineProps<SelectSeparatorProps & { class?: HTMLAttributes['class'] }>()
const delegatedProps = computed(() => {
const { class: _, ...delegated } = props
return delegated
})
</script>
<template>
<SelectSeparator
data-slot="select-separator"
v-bind="delegatedProps"
:class="cn('bg-gray-200 pointer-events-none -mx-1 my-1 h-px dark:bg-gray-800', props.class)"
/>
</template>