Files
docx-js/src/file/paragraph/math/math-text.ts

10 lines
191 B
TypeScript
Raw Normal View History

2019-08-15 00:47:55 +01:00
import { XmlComponent } from "file/xml-components";
export class MathText extends XmlComponent {
2020-10-10 13:41:26 +01:00
constructor(text: string) {
2019-08-15 00:47:55 +01:00
super("m:t");
this.root.push(text);
}
}