mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-11-15 03:11:50 +00:00
starting again
This commit is contained in:
15
frontend/src/components/ui/badge/Badge.vue
Normal file
15
frontend/src/components/ui/badge/Badge.vue
Normal file
@@ -0,0 +1,15 @@
|
||||
<script setup>
|
||||
import { badgeVariants } from ".";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
const props = defineProps({
|
||||
variant: { type: null, required: false },
|
||||
class: { type: null, required: false },
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="cn(badgeVariants({ variant }), props.class)">
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user