UNPKG

@alifd/meet-react

Version:

Fusion Mobile React UI System Component

20 lines (19 loc) 643 B
import { CSSProperties, ReactNode } from 'react'; import { BaseComponentAttributes } from '../utils/types'; export interface TypographyProps extends BaseComponentAttributes { type?: 'overline' | 'caption' | 'body-1' | 'body-2' | 'subhead' | 'title' | 'headline' | 'display-1' | 'display-2' | 'display-3'; mark?: boolean; delete?: boolean; underline?: boolean; strong?: boolean; code?: boolean; indented?: boolean; color?: string; style?: CSSProperties; children?: ReactNode; } declare const Typography: { (props: TypographyProps): JSX.Element; displayName: string; }; export default Typography;