Files
docx-js/src/file/paragraph/math/fraction/math-numerator.ts

12 lines
260 B
TypeScript
Raw Normal View History

2019-08-15 00:47:55 +01:00
import { XmlComponent } from "file/xml-components";
import { MathRun } from "../math-run";
export class MathNumerator extends XmlComponent {
constructor(readonly text: string) {
super("m:num");
this.root.push(new MathRun(text));
}
}