@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS
18 lines (14 loc) • 748 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;
inlineStyle?: boolean;
emailVariant?: boolean;
variant?: `${Variants}`;
xs?: boolean;
}
declare const Typography: react.ForwardRefExoticComponent<TypographyProps & react.RefAttributes<HTMLElement>>;
export { Typography, type TypographyProps, Variants as TypographyVariants };