Change docx folder to more appropriate "file" folder
This commit is contained in:
10
src/file/paragraph/run/text-run.ts
Normal file
10
src/file/paragraph/run/text-run.ts
Normal file
@ -0,0 +1,10 @@
|
||||
import { Run } from "../run";
|
||||
import { Text } from "./run-components/text";
|
||||
|
||||
export class TextRun extends Run {
|
||||
|
||||
constructor(text: string) {
|
||||
super();
|
||||
this.root.push(new Text(text));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user