mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-31 03:16:42 -05:00
21 lines
469 B
Vue
21 lines
469 B
Vue
<script setup lang="ts">
|
|
import { type HTMLAttributes, computed } from "vue";
|
|
import { type SelectGroupProps } from "radix-vue";
|
|
|
|
const props = defineProps<
|
|
SelectGroupProps & { class?: HTMLAttributes["class"] }
|
|
>();
|
|
|
|
const delegatedProps = computed(() => {
|
|
const { class: _, ...delegated } = props;
|
|
|
|
return delegated;
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<SelectGroup :class="cn('p-1 w-full', props.class)" v-bind="delegatedProps">
|
|
<slot />
|
|
</SelectGroup>
|
|
</template>
|