10 lines
198 B
TypeScript
10 lines
198 B
TypeScript
import {Text} from "../xml-components";
|
|
import {Run} from "../run";
|
|
|
|
export class TextRun extends Run {
|
|
|
|
constructor(text: string) {
|
|
super();
|
|
this.r.push(new Text(text));
|
|
}
|
|
} |