UNPKG

@project44-manifest/react

Version:

Manifest Design System react components

18 lines 813 B
import { As, Options, Props } from '../../system'; import type { StyleProps } from '../../types'; export declare type TypographyElement = 'span'; export interface TypographyOptions<T extends As = TypographyElement> extends Options<T>, StyleProps { /** * The display variant of the text. * * @default 'body' */ variant?: 'body' | 'bodyBold' | 'caption' | 'captionBold' | 'display' | 'heading' | 'subtext' | 'subtextBold' | 'subtitle' | 'title'; /** * The display color of the text. */ color?: 'primary' | 'secondary' | 'tertiary'; } export declare type TypographyProps<T extends As = TypographyElement> = Props<TypographyOptions<T>>; export declare const Typography: import("../../system").Component<TypographyOptions<"span">>; //# sourceMappingURL=Typography.d.ts.map