2017-03-08 21:49:41 +00:00
|
|
|
import { Run } from "../run";
|
2017-03-11 16:56:35 +00:00
|
|
|
import { Text } from "./run-components/text";
|
2016-03-30 03:50:53 +01:00
|
|
|
|
|
|
|
export class TextRun extends Run {
|
|
|
|
|
|
|
|
constructor(text: string) {
|
|
|
|
super();
|
2016-04-09 20:16:35 +01:00
|
|
|
this.root.push(new Text(text));
|
2016-03-30 03:50:53 +01:00
|
|
|
}
|
2017-03-08 21:49:41 +00:00
|
|
|
}
|