2024-10-26 23:51:56 +02:00
|
|
|
<script setup lang="ts">
|
2024-10-27 15:02:54 +01:00
|
|
|
import type { SelectRootEmits, SelectRootProps } from 'radix-vue';
|
|
|
|
import { SelectRoot, useForwardPropsEmits } from 'radix-vue';
|
2024-10-26 23:51:56 +02:00
|
|
|
|
2024-10-27 15:02:54 +01:00
|
|
|
const props = defineProps<SelectRootProps>();
|
|
|
|
const emits = defineEmits<SelectRootEmits>();
|
2024-10-26 23:51:56 +02:00
|
|
|
|
2024-10-27 15:02:54 +01:00
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
2024-10-26 23:51:56 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<SelectRoot v-bind="forwarded">
|
|
|
|
<slot />
|
|
|
|
</SelectRoot>
|
|
|
|
</template>
|