navigatiion react code example Example 1: react navigation npm install @react-navigation/native Example 2: react navigation react-navigation