formsflow-theming
Version:
US Web Design System templates for form.io
19 lines (18 loc) • 775 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default=function(ctx) {
var __t, __p = '', __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
ctx.component.components.forEach(function(tab, index) { ;
__p += '\r\n <div class="margin-bottom-2 formio-formsflow-card">\r\n <div class="formio-formsflow-card-header bg-base-lightest">\r\n <h4 class="margin-bottom-0 formio-formsflow-card-title">' +
((__t = ( ctx.t(tab.label) )) == null ? '' : __t) +
'</h4>\r\n </div>\r\n <div class="formio-formsflow-card-body" ref="' +
((__t = (ctx.tabKey)) == null ? '' : __t) +
'">\r\n ' +
((__t = ( ctx.tabComponents[index] )) == null ? '' : __t) +
'\r\n </div>\r\n </div>\r\n';
}) ;
__p += '\r\n';
return __p
}