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