gilbarbara / react-joyride

Create guided tours in your apps
https://react-joyride.com/
MIT License
6.8k stars 525 forks source link

Not possible to change Last Button style #819

Closed attuned-michele closed 2 years ago

attuned-michele commented 2 years ago

🐛 Bug Report

I want to change the Last Button style in each step, but there isn't an option for that, only for Next Button that also reflects on the Last Button style

To Reproduce/Expected behavior

I start adding only one step in the Joyride and depending on the user behavior, I add one more step and so on. So at first shows the "Last Button", and if I add one more step, the button changes to "Next Button", which that is fine, but I want the Last Button to be deactivated until the user has completed an action, so the user won't finish the joyride.

gilbarbara commented 2 years ago

hey @attuned-michele

This isn't a bug. You can use a custom component and have any configuration you want.