how npm install in nevagation code example
Example 1: install react native navigation
npm install @react-navigation/stack
npm install @react-navigation/native --save
Example 2: react navigation 5 install
react navigation
npm install @react-navigation/stack
npm install @react-navigation/native --save
react navigation