What problem does this address?
At the moment, the Next and Previous buttons in the Guide component are hard-coded. On the other hand, the Finish button is customizable through the finishButtonText prop passed to the component.
If we handle the Next and Previous buttons in a similar way as the Finish button, we will make the Guide component more flexible. It would be possible to replace the default buttons depending on specific use case.
What is your proposed solution?
The change should be quite straightforward: Let's introduce two new optional component props, e.g. previousButtonText and nextButtonText with the current defaults.
What problem does this address?
At the moment, the
NextandPreviousbuttons in the Guide component are hard-coded. On the other hand, theFinishbutton is customizable through thefinishButtonTextprop passed to the component.If we handle the
NextandPreviousbuttons in a similar way as theFinishbutton, we will make the Guide component more flexible. It would be possible to replace the default buttons depending on specific use case.What is your proposed solution?
The change should be quite straightforward: Let's introduce two new optional component props, e.g.
previousButtonTextandnextButtonTextwith the current defaults.