19 lines
381 B
Vue
19 lines
381 B
Vue
<script setup>
|
|
import { ComboboxEmpty } from "radix-vue";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps({
|
|
asChild: { type: Boolean, required: false },
|
|
as: { type: null, required: false },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<ComboboxEmpty
|
|
v-bind="props"
|
|
:class="cn('py-6 text-center text-sm', $attrs.class ?? '')"
|
|
>
|
|
<slot />
|
|
</ComboboxEmpty>
|
|
</template>
|