Liferay.Loader.define("dynamic-data-mapping-form-web@4.0.105/admin/js/pages/ErrorList",["module","exports","require","@frontend-taglib-clay$clayui/alert","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$react"],(function(e,a,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var t=d(r("@frontend-taglib-clay$clayui/alert")),n=d(r("liferay!frontend-js-react-web$classnames")),l=d(r("liferay!frontend-js-react-web$react"));function d(e){return e&&e.__esModule?e:{default:e}}var i=({errorMessages:e=[],onRemove:a,sidebarOpen:r})=>{const d=e=>()=>null==a?void 0:a(e);return e.length?l.default.createElement("div",{className:"container-fluid container-fluid-max-xl"},l.default.createElement("div",{className:(0,n.default)("ddm-form-web__exception-container",{"ddm-form-web__exception-container--sidebar-open":r})},e.map(((e,r)=>l.default.createElement(t.default,{className:"alert-dismissible",displayType:"danger",key:r,onClose:a&&d(r),title:"".concat(Liferay.Language.get("error"),":")},e))))):null};a.default=i}}));
//# sourceMappingURL=ErrorList.js.map