UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

16 lines (15 loc) 749 B
import React from 'react'; import { TypographyAlign, TypographyVariant } from './types'; import { TypographyStyled, getTypographyStyles } from './styled'; import type { TypographyComponent } from './types'; export interface TypographyProps extends Omit<React.ComponentProps<typeof TypographyStyled>, 'ref' | '$variant' | '$align' | '$fullWidth'> { variant?: TypographyVariant; component?: TypographyComponent; align?: TypographyAlign; fullWidth?: boolean; href?: React.ComponentProps<'a'>['href']; target?: React.ComponentProps<'a'>['target']; } export declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLSpanElement>>; export { getTypographyStyles }; export * from './types';