Liferay.Loader.define("@liferay/frontend-data-set-web@1.0.31/data_renderers/StatusRenderer",["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.default=void 0;l(r("liferay!frontend-js-react-web$prop-types"));var t=l(r("liferay!frontend-js-react-web$react"));function l(e){return e&&e.__esModule?e:{default:e}}var n=function(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""}})(e.value.label))},e.value.label_i18n))):null};a.default=n}}));
//# sourceMappingURL=StatusRenderer.js.map