Liferay.Loader.define("commerce-frontend-js@4.0.75/components/step_tracker/StepTracker",["module","exports","require","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=_interopRequireDefault(r("@frontend-taglib-clay$clayui/icon")),n=_interopRequireDefault(r("liferay!frontend-js-react-web$classnames")),l=(_interopRequireDefault(r("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(r("liferay!frontend-js-react-web$react")));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}function Step(e){return l.default.createElement("div",{className:(0,n.default)("step",e.state||"inactive")},l.default.createElement("span",{className:"step-label"},e.label,"completed"===e.state&&l.default.createElement(a.default,{className:"ml-3",symbol:"check"})))}var c=function StepTracker(e){return l.default.createElement("div",{className:"rounded step-tracker"},e.steps.map((e=>l.default.createElement(Step,_extends({key:e.id},e)))))};t.default=c}}));
//# sourceMappingURL=StepTracker.js.map