Files
docx-js/ts/docx/run/text-run.ts
2016-04-09 20:16:35 +01:00

10 lines
201 B
TypeScript

import {Text} from "../xml-components";
import {Run} from "../run";
export class TextRun extends Run {
constructor(text: string) {
super();
this.root.push(new Text(text));
}
}