UNPKG

triangulo-digital-components

Version:

Triângulo Digital Components Library - Design System do Triângulo Digital

14 lines (13 loc) 912 B
import { VariantProps } from 'class-variance-authority'; import * as React from 'react'; declare const typographyVariants: (props?: ({ variant?: "span" | "titleLarge" | "titleMedium" | "titleSmall" | "subtitleLarge" | "subtitleMedium" | "subtitleSmall" | "paragraph" | null | undefined; weight?: "bold" | "light" | "normal" | "medium" | "semibold" | null | undefined; align?: "center" | "left" | "right" | "justify" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; type TypographyElement = 'h1' | 'h2' | 'h3' | 'p' | 'span'; interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> { as?: TypographyElement; } declare function Typography({ className, variant, weight, align, as, ...props }: TypographyProps): import("react/jsx-runtime").JSX.Element; export { Typography, typographyVariants };