react-native-copilot
react-native-copilot copied to clipboard
Add prop to specify back button behavior
Adds a prop that allows configuration of back button behavior. By default, it's still a no-op, but also allows either navigation to the previous step, or stopping the walkthrough all together.
This was especially helpful in my case, because the tutorial as designed did not use buttons (clicking the mask or the tooltip would advance the tutorial), so it's helpful for the back button to still behave as the user expects.
Part of a series of PRs for more flexible styling:
- https://github.com/mohebifar/react-native-copilot/pull/238
- https://github.com/mohebifar/react-native-copilot/pull/239
+1
Hi @lindboe! Sorry for the overdue response. I see you've had a lot of valuable PRs. I recently refactored the code base and migrated it to TS and functional components. I was wondering if you are still willing to update and merge your PRs.
Hi @mohebifar! I'm not currently using this library so it's not very likely I'll get around to this soon
No worries. I can integrate these into the new code.