We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d3f236a + 57cd118 commit fd78390Copy full SHA for fd78390
src/Tour.js
@@ -517,6 +517,9 @@ class Tour extends Component {
517
disabled={current === i || disableDotsNavigation}
518
showNumber={showNavigationNumber}
519
data-tour-elem="dot"
520
+ className={cn(CN.dot.base, {
521
+ [CN.dot.active]: current === i,
522
+ })}
523
/>
524
))}
525
</Navigation>
@@ -569,6 +572,10 @@ const CN = {
569
572
base: 'reactour__helper',
570
573
isOpen: 'reactour__helper--is-open',
571
574
},
575
+ dot: {
576
+ base: 'reactour__dot',
577
+ active: 'reactour__dot--is-active',
578
+ },
579
}
580
581
const setNodeState = (node, helper, position) => {
0 commit comments