Add `badgeContent` prop
Allows to customize the content with two params current
step and total
step.
i.e
<Tour
onRequestClose={closeTour}
steps={[…]}
isOpen={true}
badgeContent={(cur, tot) => `${cur} of ${tot}`}
/>
or something more complex like
<Tour
onRequestClose={closeTour}
steps={[…]}
isOpen={true}
badgeContent={(cur, tot) => cur === 1 ? 'welcome!' : `${cur}/${tot}`}
/>
Thanks to @jovstern for the idea