UNPKG

robust-react-ui

Version:

A React component library, built with a focus on accessibility, extensibility and reusability.

18 lines (17 loc) 446 B
import { ReactNode } from 'react'; export interface IHeadingProps { children: ReactNode; /** * Provides the component with an id attribute. May be used for accessibility purposes. */ id?: string; /** * Maps to tag size * @default 1 */ level?: 1 | 2 | 3 | 4 | 5 | 6; /** * Increases the size by a multiplier factor. Can be applied to any level. */ jumbo?: boolean; }