<script setup lang="ts">
import { TabsContent, type TabsContentProps } from "reka-ui";
import { cn } from "@/lib/utils";

interface Props extends TabsContentProps {
  class?: string;
}

const props = defineProps<Props>();
</script>

<template>
  <TabsContent
    v-bind="props"
    :class="
      cn(
        'ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 mt-4',
        props.class,
      )
    "
  >
    <slot />
  </TabsContent>
</template>
