werkbank
    Preparing search index...

    Type Alias TypographyProps<Element>

    TypographyProps: JSX.IntrinsicElements[Element] & {
        element?: Element;
        size?: keyof typeof typographyVariants;
    }

    Props for Typography components.

    Type Parameters

    • Element extends IntrinsicElement

      The HTML element type (e.g., "h1", "p", "span").

    Type Declaration

    • Optionalelement?: Element

      The HTML element to render.

      Varies by component (e.g., "h1" for Display, "p" for Body).
      
    • Optionalsize?: keyof typeof typographyVariants

      The size variant of the typography.

      "size"