Files
study-bible-project/node_modules/docx/dist/file/paragraph/formatting/spacing.d.ts
T

17 lines
644 B
TypeScript

import { XmlComponent } from '../../xml-components';
export declare const LineRuleType: {
readonly AT_LEAST: "atLeast";
readonly EXACTLY: "exactly";
readonly EXACT: "exact";
readonly AUTO: "auto";
};
export type ISpacingProperties = {
readonly after?: number;
readonly before?: number;
readonly line?: number;
readonly lineRule?: (typeof LineRuleType)[keyof typeof LineRuleType];
readonly beforeAutoSpacing?: boolean;
readonly afterAutoSpacing?: boolean;
};
export declare const createSpacing: ({ after, before, line, lineRule, beforeAutoSpacing, afterAutoSpacing }: ISpacingProperties) => XmlComponent;