How can i change label of next and prev button ?
curlybom opened this issue · 1 comments
curlybom commented
I can't change them by passing nextLabel and prevLabel to Step component.
curlybom commented
oh I just got it after submitting the issue 🤪 it should be passed as options to Step Component
const options = {
nextLabel: 'Next Step'
}
return (
<>
<Steps
steps={steps}
enabled={isIntroEnable}
initialStep={0}
onExit={onExit}
options={options}
/>
</>
)