You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
407 B

<script setup lang="ts">
import { SelectRoot } from 'reka-ui'
const props = defineProps<{
modelValue?: string
disabled?: boolean
}>()
const emit = defineEmits<{
'update:modelValue': [value: string]
}>()
</script>
<template>
<SelectRoot
:model-value="modelValue"
:disabled="disabled"
@update:model-value="emit('update:modelValue', $event)"
>
<slot />
</SelectRoot>
</template>