Liferay.Loader.define("@liferay/frontend-data-set-web@1.0.31/views/timeline/Timeline",["module","exports","require","@frontend-taglib-clay$clayui/list","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=i(a("@frontend-taglib-clay$clayui/list")),n=i(a("liferay!frontend-js-react-web$classnames")),r=(i(a("liferay!frontend-js-react-web$prop-types")),i(a("liferay!frontend-js-react-web$react")));function i(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function c({date:e,description:t,title:a}){return r.default.createElement("li",{className:"timeline-item"},r.default.createElement("div",{className:"panel panel-secondary"},r.default.createElement("div",{className:"timeline-increment"},r.default.createElement("span",{className:"timeline-icon"})),r.default.createElement("div",{className:"panel-body"},r.default.createElement("div",{className:"mb-2 row"},r.default.createElement("div",{className:"col"},r.default.createElement("h4",{className:"mb-0"},a)),r.default.createElement("div",{className:"col-auto"},t)),r.default.createElement("small",null,e))))}function d({frontendDataSetContext:e,items:t}){return r.default.createElement(l.default,{className:(0,n.default)("mb-0","timeline")},t.map(((a,l)=>r.default.createElement(c,s({key:l},a,{borderBottom:l!==t.length-1,frontendDataSetContext:e})))))}c.defaultProps={},d.defaultProps={items:[]};var f=d;t.default=f}}));
//# sourceMappingURL=Timeline.js.map