document-editor-key-template
Version:
A reusable React TypeScript component
20 lines (19 loc) • 487 B
TypeScript
import { DataInsertType, KeyTemplateType } from "../enums/keyEnum";
export interface IKeyTemplate {
key: string;
description?: string;
type?: KeyTemplateType;
dataInsertType?: DataInsertType;
style?: ITextStyle;
}
export interface ITextStyle {
allCaps?: boolean;
baselineAlignment?: string;
bold?: boolean;
fontColor?: string;
fontFamily?: string;
fontSize?: number;
italic?: boolean;
strikethrough?: string;
underline?: string;
}