UNPKG

@aveonline/ui-react

Version:

Home base for Aveonline design system - ecosystem react

13 lines (12 loc) 546 B
/// <reference types="react" /> import type { IColorText, IWeight, ILineHeightHeading, IFontSizeHeading, IClassName, IChildren, _TProps } from '../../../../types'; export interface IHeading extends IChildren, IClassName, IWeight, ILineHeightHeading, IColorText, IFontSizeHeading, _TProps { /** * Variant heading */ variant?: 'subheading' | 'heading' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; /** * Tag html heading availables */ as?: Extract<keyof JSX.IntrinsicElements, 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>; }