UNPKG

@aveonline/ui-react

Version:

Home base for Aveonline design system - ecosystem react

16 lines (15 loc) 562 B
/// <reference types="react" /> import type { IColorText, IWeight, ILineHeightText, IFontSizeText, IChildren, IClassName, _TProps } from '../../../../types'; export interface IText extends IColorText, IWeight, ILineHeightText, IFontSizeText, IChildren, IClassName, _TProps { /** * Variant heading */ variant?: 'button' | 'body' | 'highlight' | 'caption'; /** * Tag html availables */ as?: Extract<keyof JSX.IntrinsicElements, 'span' | 'p' | 'label'>; onClick?: () => void; htmlFor?: string; [rest: string]: any; }