react -router-dom navigate code example Example: react navigation npm install @react-navigation/native