Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/plugins/comments/components/ResolveButton",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../../common/components/Loader"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({disabled:e=!1,loading:t,onClick:a,resolved:s}){let d=r.default.createElement("span",{className:"text-lowercase"},r.default.createElement(n.default,{symbol:"check-circle"})),i=Liferay.Language.get("resolve");t?(i=void 0,d=r.default.createElement(c.default,null)):s&&(d=r.default.createElement("span",{className:"text-lowercase text-success"},r.default.createElement(n.default,{symbol:"check-circle-full"})),i=Liferay.Language.get("reopen"));return r.default.createElement(l.default,{borderless:!0,className:(0,o.default)("flex-shrink-0",{"lfr-portal-tooltip":!!i}),"data-title":i,disabled:e||t,displayType:"secondary",monospaced:!0,onClick:a,outline:!0,small:!0},d)};var l=s(a("@frontend-taglib-clay$clayui/button")),n=s(a("@frontend-taglib-clay$clayui/icon")),o=s(a("liferay!frontend-js-react-web$classnames")),r=(s(a("liferay!frontend-js-react-web$prop-types")),s(a("liferay!frontend-js-react-web$react"))),c=s(a("../../../common/components/Loader"));function s(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=ResolveButton.js.map