import type { VariantProps } from "class-variance-authority"

import type { captionVariants } from "./variants"

export interface CaptionProps
  extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color">,
    VariantProps<typeof captionVariants> {
  asChild?: boolean
  fontOnly?: boolean
}
