@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS
19 lines (15 loc) • 788 B
TypeScript
import { V as Variants } from '../../../Typography.constants-DvMtFxBN.js';
export { D as DEFAULT_TYPOGRAPHY_ELEMENT, a as DEFAULT_TYPOGRAPHY_VARIANT, b as typographyVariantToElement } from '../../../Typography.constants-DvMtFxBN.js';
import * as react from 'react';
import { AllHTMLAttributes, ReactNode, ElementType } from 'react';
interface TypographyProps extends AllHTMLAttributes<HTMLElement> {
children?: ReactNode;
element?: ElementType;
fullStyle?: boolean;
inlineStyle?: boolean;
variant?: `${Variants}`;
xs?: boolean;
disableClickTracking?: boolean;
}
declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLElement | null>>;
export { Typography, type TypographyProps, Variants as TypographyVariants };