init
Initial mock up of the app
This commit is contained in:
18
src/components/ui/command/CommandEmpty.vue
Normal file
18
src/components/ui/command/CommandEmpty.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user