Files
study-bible-project/node_modules/docx/dist/file/table/table-width.d.ts
T

14 lines
543 B
TypeScript

import { XmlComponent } from '../xml-components';
import { Percentage, UniversalMeasure } from '../../util/values';
export declare const WidthType: {
readonly AUTO: "auto";
readonly DXA: "dxa";
readonly NIL: "nil";
readonly PERCENTAGE: "pct";
};
export type ITableWidthProperties = {
readonly size: number | Percentage | UniversalMeasure;
readonly type?: (typeof WidthType)[keyof typeof WidthType];
};
export declare const createTableWidthElement: (name: string, { type, size }: ITableWidthProperties) => XmlComponent;