mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-11-14 19:05:49 +00:00
16 lines
320 B
Vue
16 lines
320 B
Vue
<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>
|