created drawing file and refactored run components in components folder

This commit is contained in:
Dolan Miu
2017-03-11 16:56:35 +00:00
parent 64ab91765a
commit 62b6b33254
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,11 @@
import { XmlComponent } from "../../xml-components";
export class Text extends XmlComponent {
constructor(text: string) {
super("w:t");
if (text) {
this.root.push(text);
}
}
}