diff --git a/packages/builder/src/builderStore/store/screenTemplates/utils/Screen.js b/packages/builder/src/builderStore/store/screenTemplates/utils/Screen.js index 24c7105492..239a4dfb50 100644 --- a/packages/builder/src/builderStore/store/screenTemplates/utils/Screen.js +++ b/packages/builder/src/builderStore/store/screenTemplates/utils/Screen.js @@ -59,4 +59,11 @@ export class Screen extends BaseStructure { this._json.props._instanceName = name return this } + + customProps(props) { + for (let key of Object.keys(props)) { + this._json.props[key] = props[key] + } + return this + } }