14 lines
318 B
TypeScript
14 lines
318 B
TypeScript
import { XmlComponent } from "file/xml-components";
|
|
|
|
import { MathComponent } from "../math-component";
|
|
|
|
export class MathNumerator extends XmlComponent {
|
|
constructor(children: MathComponent[]) {
|
|
super("m:num");
|
|
|
|
for (const child of children) {
|
|
this.root.push(child);
|
|
}
|
|
}
|
|
}
|