Files
zeroone/src/components/ui/command/CommandEmpty.vue
KM 6e4dc5e9db init
Initial mock up of the app
2024-01-22 12:03:56 +01:00

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>