Liferay.Loader.define("change-tracking-web@2.0.73/publications/js/components/WorkflowStatusLabel",["module","exports","require","@frontend-taglib-clay$clayui/label","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=l(t("@frontend-taglib-clay$clayui/label")),r=l(t("liferay!frontend-js-react-web$react"));function l(e){return e&&e.__esModule?e:{default:e}}const e=0,d=4,i=2,o=1;var u=({workflowStatus:a})=>{let t=null,l=null;return a===e?(t="success",l=Liferay.Language.get("approved")):a===d?(t="danger",l=Liferay.Language.get("denied")):a===i?(t="secondary",l=Liferay.Language.get("draft")):a===o&&(t="info",l=Liferay.Language.get("pending")),t&&l?r.default.createElement(n.default,{displayType:t},l):null};a.default=u}}));
//# sourceMappingURL=WorkflowStatusLabel.js.map