Liferay.Loader.define("@liferay/commerce-order-web@5.0.93/js/CommerceStatusDataRenderer",["module","exports","require","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,a,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.CommerceStatusDataRenderer=function CommerceStatusDataRenderer(e){return e.value?t.default.createElement("span",{className:"taglib-workflow-status"},t.default.createElement("span",{className:"workflow-status"},t.default.createElement("strong",{className:"label ".concat((e=>{switch(e){case"approved":return"label-success";case"denied":return"label-danger";case"expired":return"label-warning";case"draft":case"pending":case"scheduled":return"label-info";default:return"label-secondary"}})(e.value.label))},e.value.label_i18n))):null};_interopRequireDefault(r("liferay!frontend-js-react-web$prop-types"));var t=_interopRequireDefault(r("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=CommerceStatusDataRenderer.js.map