UNPKG

@hhgtech/hhg-components

Version:
13 lines (12 loc) 497 B
import { FontWeight, TextSize } from "./text"; export declare enum CustomStylesType { LEADGEN = "leadgen", NONE = "none" } export type OverideTextType = { fontSize?: Partial<Record<TextSize, Array<string>>>; lineHeight?: Partial<Record<TextSize, Array<string>>>; letterSpacing?: Partial<Record<TextSize, Array<number>>>; fontWeight?: Record<'regular' | 'semiBold' | 'bold' | 'halfBold', number>; fontWeightBySize?: Partial<Record<TextSize, FontWeight>>; };