import { headingVariants } from "@/components/Title/variants"

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

type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6"

export interface HeadingProps
  extends React.HTMLAttributes<HTMLHeadingElement>,
    VariantProps<typeof headingVariants> {
  as?: HeadingLevel
  level?: HeadingLevel
  uppercase?: boolean
}
