12 lines
219 B
TypeScript
12 lines
219 B
TypeScript
import { XmlComponent } from "../xml-components";
|
|
|
|
export class Text extends XmlComponent {
|
|
|
|
constructor(text: string) {
|
|
super("w:t");
|
|
if (text) {
|
|
this.root.push(text);
|
|
}
|
|
}
|
|
}
|