Skip to content

Commit c365013

Browse files
committed
Fix typo in import
1 parent 66b5ec1 commit c365013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-7.x/upgrading-from-6.x.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ All the packages in React Navigation now use ESM exports. While it shouldn't aff
583583
React Navigation 5 introduced a dynamic API to support more flexible use cases. With React Navigation 7, we are re-introducing a static configuration API:
584584

585585
```js
586-
import { createNativeStackNavigator } from 'react-native-screens/native-stack';
586+
import { createNativeStackNavigator } from '@react-navigation/native-stack';
587587

588588
const MyStack = createNativeStackNavigator({
589589
screens: {

0 commit comments

Comments
 (0)