install react native navigation native code example
Example: install react native navigation
npm install @react-navigation/stack
npm install @react-navigation/native --save
npm install @react-navigation/stack
npm install @react-navigation/native --save