How can I handle hardware back button navigation in a React Native Wizard component without modifying the child component?
I’m working on a React Native project where I have a custom Wizard component that allows users to navigate through different steps in a form. The Wizard component is used within a parent component like this: