File tree 1 file changed +4
-6
lines changed
versioned_docs/version-7.x 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ import * as React from 'react';
21
21
import { View , Text } from ' react-native' ;
22
22
import { Button } from ' @react-navigation/elements' ;
23
23
// codeblock-focus-start
24
+ import { NavigationContext } from ' @react-navigation/native' ;
25
+ // codeblock-focus-end
24
26
import {
25
27
useNavigation ,
26
28
createStaticNavigation ,
27
- NavigationContext ,
28
29
} from ' @react-navigation/native' ;
29
- // codeblock-focus-end
30
30
import { createNativeStackNavigator } from ' @react-navigation/native-stack' ;
31
31
32
32
function HomeScreen () {
@@ -85,11 +85,9 @@ import * as React from 'react';
85
85
import { View , Text } from ' react-native' ;
86
86
import { Button } from ' @react-navigation/elements' ;
87
87
// codeblock-focus-start
88
- import {
89
- NavigationContainer ,
90
- NavigationContext ,
91
- } from ' @react-navigation/native' ;
88
+ import { NavigationContext } from ' @react-navigation/native' ;
92
89
// codeblock-focus-end
90
+ import { NavigationContainer } from ' @react-navigation/native' ;
93
91
import { createNativeStackNavigator } from ' @react-navigation/native-stack' ;
94
92
95
93
function HomeScreen () {
You can’t perform that action at this time.
0 commit comments