fm-lp-factory
Version:
package created to build web ui components for FidelizarMais LP services
15 lines (14 loc) • 517 B
JavaScript
import indicationWithBenefitsGuide from "./indicationWithBenefitsGuide.js";
import indicationWithLeftCards from "./indicationWithLeftCards.js";
export default (component) => {
switch (component.type) {
case "indication-with-left-cards":
return indicationWithLeftCards(component.data);
break;
case "indication-with-benefits-guide":
return indicationWithBenefitsGuide(component.data);
break;
default:
return;
}
}