diff --git a/demo/11-declaritive-styles-2.ts b/demo/11-declaritive-styles-2.ts index 11ed18fb69..3881e2f258 100644 --- a/demo/11-declaritive-styles-2.ts +++ b/demo/11-declaritive-styles-2.ts @@ -160,10 +160,14 @@ const doc = new Document({ sections: [ { properties: { - top: 700, - right: 700, - bottom: 700, - left: 700, + page: { + margin: { + top: 700, + right: 700, + bottom: 700, + left: 700, + }, + }, }, footers: { default: new Footer({