how to get navigation stack in react native code example
Example: install react native navigation stack
npm install react-navigation-stack @react-native-community/masked-view react-native-safe-area-context
npm install react-navigation-stack @react-native-community/masked-view react-native-safe-area-context