react-native-copilot icon indicating copy to clipboard operation
react-native-copilot copied to clipboard

Add prop to specify back button behavior

Open lindboe opened this issue 2 years ago • 4 comments

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

lindboe avatar Sep 14 '21 22:09 lindboe

+1

naoyamakino avatar Sep 14 '21 22:09 naoyamakino

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.

mohebifar avatar Mar 22 '23 16:03 mohebifar

Hi @mohebifar! I'm not currently using this library so it's not very likely I'll get around to this soon

lindboe avatar Mar 22 '23 18:03 lindboe

No worries. I can integrate these into the new code.

mohebifar avatar Mar 22 '23 18:03 mohebifar