mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-21 23:36:15 -04:00
15 lines
399 B
Vue
15 lines
399 B
Vue
<script setup lang="ts">
|
|
import type { SelectRootEmits, SelectRootProps } from 'radix-vue';
|
|
import { SelectRoot, useForwardPropsEmits } from 'radix-vue';
|
|
|
|
const props = defineProps<SelectRootProps>();
|
|
const emits = defineEmits<SelectRootEmits>();
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits);
|
|
</script>
|
|
|
|
<template>
|
|
<SelectRoot v-bind="forwarded">
|
|
<slot />
|
|
</SelectRoot>
|
|
</template>
|