Liferay.Loader.define("journal-web@5.0.144/js/ai_creator/FormFooter",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.FormFooter=function FormFooter({onAdd:e,onClose:t,showAddButton:a,showCreateButton:o,showRetryButton:u}){const i=[l.default.createElement(r.default,{borderless:!0,displayType:"secondary",key:"cancel",onClick:t,type:"button"},Liferay.Language.get("cancel"))];u&&i.push(l.default.createElement(r.default,{displayType:"secondary",key:"try-again",type:"submit"},Liferay.Language.get("try-again")));a&&i.push(l.default.createElement(r.default,{displayType:"primary",key:"add",onClick:e},Liferay.Language.get("add")));o&&i.push(l.default.createElement(r.default,{displayType:"primary",key:"create",type:"submit"},l.default.createElement("span",{className:"inline-item inline-item-before"},l.default.createElement(n.default,{symbol:"bolt"})),Liferay.Language.get("create")));return l.default.createElement(r.default.Group,{className:"c-px-2",spaced:!0},i)};var r=_interopRequireDefault(a("@frontend-taglib-clay$clayui/button")),n=_interopRequireDefault(a("@frontend-taglib-clay$clayui/icon")),l=_interopRequireDefault(a("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=FormFooter.js.map