mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 04:19:26 +00:00
17 lines
380 B
Vue
17 lines
380 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes } from "vue";
|
|
import { type BadgeVariants, badgeVariants } from ".";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps<{
|
|
variant?: BadgeVariants["variant"];
|
|
class?: HTMLAttributes["class"];
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<div :class="cn(badgeVariants({ variant }), props.class)">
|
|
<slot />
|
|
</div>
|
|
</template>
|