const Component = require(`vn-print/core/component`); const emailHeader = new Component('email-header'); const emailFooter = new Component('email-footer'); module.exports = { name: 'entry-update-comission', components: { 'email-header': emailHeader.build(), 'email-footer': emailFooter.build() }, props: { currencyName: { type: [String], required: true }, referenceCurrent: { type: [String], required: true } } };