import{defineProperty as e}from"../../_virtual/_rollupPluginBabelHelpers.js";import{jsx as r}from"react/jsx-runtime";import t from"classnames";import{noop as o}from"lodash-es";import{BEMClass as a}from"../../helpers/bem-helper.js";import{StepsDotAriaCurrent as i,STEPS_CSS_BASE_CLASS as s}from"./StepsConstants.js";var l=a("".concat(s,"-header")),m=function(a){var s=a.isActive,m=a.onClick,n=void 0===m?o:m,p=a.ariaCurrent;return r("button",{type:"button","aria-label":a.ariaLabel,"aria-current":!!s&&(void 0===p?i.STEP:p),className:t(l({element:"dot"}),e({},l({element:"dot",state:"is-active"}),s)),onClick:n})};export{m as StepsDot};
