import React from 'react';
import { SaleDetailTemplateA } from "./A";
import { SaleDetailTemplateB } from "./B";
export function SaleDetailTemplateRenderer(_ref) {
  var context = _ref.context,
    mobilePresentation = _ref.mobilePresentation,
    moduleConfig = _ref.moduleConfig,
    renderType = _ref.renderType,
    _ref$tmpl = _ref.tmpl,
    tmpl = _ref$tmpl === void 0 ? 'A' : _ref$tmpl,
    variant = _ref.variant;
  switch (tmpl) {
    case 'B':
      return /*#__PURE__*/React.createElement(SaleDetailTemplateB, {
        context: context,
        mobilePresentation: mobilePresentation,
        moduleConfig: moduleConfig,
        renderType: renderType,
        variant: variant
      });
    case 'A':
    default:
      return /*#__PURE__*/React.createElement(SaleDetailTemplateA, {
        context: context,
        mobilePresentation: mobilePresentation,
        moduleConfig: moduleConfig,
        renderType: renderType,
        variant: variant
      });
  }
}
export { SaleDetailTemplateA };
export { SaleDetailTemplateB };