<script>
import theme from "#build/b24ui/prose/badge";
</script>

<script setup>
import { computed } from "vue";
import { useAppConfig } from "#imports";
import { tv } from "../../utils/tv";
import B24Badge from "../Badge.vue";
const props = defineProps({
  class: { type: null, required: false }
});
defineSlots();
const appConfig = useAppConfig();
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.prose?.badge || {} }));
</script>

<template>
  <B24Badge color="air-primary" :class="b24ui({ class: props.class })">
    <slot mdc-unwrap="p" />
  </B24Badge>
</template>
