Add more tests to paragraph

This commit is contained in:
Dolan
2019-01-11 00:16:25 +00:00
parent 677300e34f
commit db7f27a88c
3 changed files with 274 additions and 7 deletions

View File

@ -18,9 +18,9 @@ class SpacingAttributes extends XmlAttributeComponent<ISpacingProperties> {
}
export class Spacing extends XmlComponent {
constructor(opts: ISpacingProperties) {
constructor(options: ISpacingProperties) {
super("w:spacing");
this.root.push(new SpacingAttributes(opts));
this.root.push(new SpacingAttributes(options));
}
}