+ {renderPrev}
+ {!hideDots ? (
+
+ {Array.from({ length: stepsLength }, (_, i) => i).map((index) => {
+ const isCurrent = index === currentStep;
+ const isVisited = index <= visited && !isCurrent;
+ return (
+
+ );
+ })}
+
+ ) : null}
+ {renderNext}
+
+