Liferay.Loader.define("change-tracking-web@2.0.87/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 r=_interopRequireDefault(t("@frontend-taglib-clay$clayui/label")),n=_interopRequireDefault(t("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const e=0,l=4,u=2,i=1;var _default=({workflowStatus:a})=>{let t=null,o=null;return a===e?(t="success",o=Liferay.Language.get("approved")):a===l?(t="danger",o=Liferay.Language.get("denied")):a===u?(t="secondary",o=Liferay.Language.get("draft")):a===i&&(t="info",o=Liferay.Language.get("pending")),t&&o?n.default.createElement(r.default,{displayType:t},o):null};a.default=_default}}));
//# sourceMappingURL=WorkflowStatusLabel.js.map