Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.170/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 ResolveButton({disabled:e=!1,loading:t,onClick:a,resolved:c}){let u=o.default.createElement("span",{className:"text-lowercase"},o.default.createElement(r.default,{symbol:"check-circle"})),s=Liferay.Language.get("resolve");t?(s=void 0,u=o.default.createElement(i.default,null)):c&&(u=o.default.createElement("span",{className:"text-lowercase text-success"},o.default.createElement(r.default,{symbol:"check-circle-full"})),s=Liferay.Language.get("reopen"));return o.default.createElement(l.default,{borderless:!0,className:(0,n.default)("flex-shrink-0",{"lfr-portal-tooltip":!!s}),"data-title":s,disabled:e||t,displayType:"secondary",monospaced:!0,onClick:a,outline:!0,size:"sm"},u)};var l=_interopRequireDefault(a("@frontend-taglib-clay$clayui/button")),r=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),n=_interopRequireDefault(a("liferay!frontend-js-react-web$classnames")),o=(_interopRequireDefault(a("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(a("liferay!frontend-js-react-web$react"))),i=_interopRequireDefault(a("../../../common/components/Loader"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=ResolveButton.js.map