14 lines
543 B
TypeScript
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;
|