@hhgtech/hhg-components
Version:
Hello Health Group common components
13 lines (12 loc) • 497 B
TypeScript
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>>;
};