vdrag-topo-ui
Version:
46 lines (45 loc) • 969 B
TypeScript
export type ConfigProps = {
label: string;
fontFamilyKey: string;
fontSizeKey: string;
letterSpacingKey: string;
lineHeightKey: string;
colorKey: string;
textDecorationKey: string;
fontStyleKey: string;
fontWeightKey: string;
comType: string;
fontFamilyOptions?: string[];
[x: string]: any;
};
export type FontFamilyProps = {
key: string;
fontFamilyOptions?: string[];
};
export type FontSizeProps = {
key: string;
min?: number;
max?: number;
step?: number;
precision?: number;
};
export type FontSpaceProps = {
key: string;
min?: number;
max?: number;
step?: number;
precision?: number;
};
export type FontLineHeightProps = {
key: string;
min?: number;
max?: number;
step?: number;
precision?: number;
};
export type FontDecoractionProps = {
textDecorationKey: string;
fontStyleKey: string;
fontWeightKey?: string;
[x: string]: any;
};