UNPKG

reablocks

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