import { ElementType, LabelHTMLAttributes } from 'react'; import { TLayer } from '../../../types/TLayer'; import { TUiColorsSystemMessage } from '../../../types/TUiColorsSystemMessage'; import { TUiColorsNotTransparent } from '../../../types/TUiColorsNotTransparent'; import { TTypography } from '../Typography/Typography.model'; import { TComponentSizes } from '../../../types/TComponentSizes'; import { TTextAlignLRC } from '../../../types/TTextAlignLRC'; export type TAlignedLabelProps = { align?: TTextAlignLRC; systemMessageType?: TUiColorsSystemMessage; themeType?: TUiColorsNotTransparent; layer?: TLayer; size?: TComponentSizes; ownTypographyComponent?: boolean; }; type TTypographyOptionalVariant = { typography?: Partial> & Omit; }; type HTMLAttributes = LabelHTMLAttributes & { as?: ElementType; }; export type TAlignedLabelWithAllProps = TAlignedLabelProps & TTypographyOptionalVariant & HTMLAttributes; export {};