colbymillerdev / react-native-progress-steps

A simple and fully customizable React Native component that implements a progress stepper UI.
MIT License
377 stars 147 forks source link

Trigger onNextStep method with custom button #16

Closed jesustrujillodev closed 4 years ago

jesustrujillodev commented 5 years ago

I'd like to know if there's a way to trigger onNextStep method with a custom View element that's inside a step

Example:

<View onPress={ //onNextStep() call goes here }> //Element

Thanks!

joaoarruda-dev commented 4 years ago

https://github.com/colbymillerdev/react-native-progress-steps/issues/15#issuecomment-556167242

And in this case, you can change only the state of progress step with your custom view 👍 🇧🇷