mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
16 lines
455 B
Vue
16 lines
455 B
Vue
<script setup lang="ts">
|
|
import type { SelectRootEmits, SelectRootProps } from 'reka-ui'
|
|
import { SelectRoot, useForwardPropsEmits } from 'reka-ui'
|
|
|
|
const props = defineProps<SelectRootProps>()
|
|
const emits = defineEmits<SelectRootEmits>()
|
|
|
|
const forwarded = useForwardPropsEmits(props, emits)
|
|
</script>
|
|
|
|
<template>
|
|
<SelectRoot v-slot="slotProps" data-slot="select" v-bind="forwarded">
|
|
<slot v-bind="slotProps" />
|
|
</SelectRoot>
|
|
</template>
|