<script>
import theme from "#build/b24ui/prose/tabs-item";
</script>

<script setup>
import { computed } from "vue";
import { useAppConfig } from "#imports";
import { useComponentProps } from "../../composables/useComponentProps";
import { tv } from "../../utils/tv";
const _props = defineProps({
  label: { type: String, required: true },
  description: { type: String, required: false },
  class: { type: null, required: false },
  b24ui: { type: Object, required: false }
});
defineSlots();
const props = useComponentProps("prose.tabsItem", _props);
const appConfig = useAppConfig();
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.prose?.tabsItem || {} }));
</script>

<template>
  <div :class="b24ui({ class: [props.b24ui?.base, props.class] })">
    <slot>
      {{ props.description }}
    </slot>
  </div>
</template>
