UNPKG

reablocks

Version:
29 lines (27 loc) 771 B
import { TypographyTheme } from '../TypographyTheme'; import { default as React, FC, LegacyRef } from 'react'; export interface SubProps extends React.HTMLAttributes<HTMLHeadingElement> { /** * Color variation of the text. */ color?: 'default' | 'primary' | 'secondary' | 'error' | 'success' | 'warning' | 'info' | string; /** * Font variant for the text. */ variant?: 'default' | 'mono'; /** * Whether to disable the margins. */ disableMargins?: boolean; /** * Theme for the Typography. */ theme?: TypographyTheme; } export interface SubRef { /** * Reference to the HTML heading element. */ ref?: LegacyRef<HTMLHeadingElement>; } export declare const Sub: FC<SubProps & SubRef>;