/// import { TColorMain, TColorShade } from '../../tokens/colors/color.type'; import { TTypographySize } from '../../tokens/typography/typography.type'; export interface IText extends React.HTMLAttributes { children?: React.ReactNode; color?: TColorMain | 'title' | 'subdued' | 'body'; shade?: TColorShade; size?: TTypographySize; href?: string; link?: boolean; margin?: string; width?: string; whiteSpace?: 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line' | 'break-spaces'; align?: 'left' | 'right' | 'center' | 'start' | 'end' | 'justify'; weight?: 'bold' | 'semi-bold' | 'normal'; onClick?: () => void; }