diff --git a/TestsExample/App.js b/TestsExample/App.js index c17b87e1c..ffdf4750a 100644 --- a/TestsExample/App.js +++ b/TestsExample/App.js @@ -34,6 +34,7 @@ import Test817 from './src/Test817'; import Test831 from './src/Test831'; import Test844 from './src/Test844'; import Test861 from './src/Test861'; +import Test865 from './src/Test865'; enableScreens(); diff --git a/TestsExample/src/Test865.tsx b/TestsExample/src/Test865.tsx new file mode 100644 index 000000000..93e375623 --- /dev/null +++ b/TestsExample/src/Test865.tsx @@ -0,0 +1,74 @@ +import React from 'react'; +import {View, Text, Button} from 'react-native'; + +import {NavigationContainer, ParamListBase} from '@react-navigation/native'; +import { + createNativeStackNavigator, + NativeStackNavigationProp, +} from 'react-native-screens/native-stack'; + +const Stack = createNativeStackNavigator(); + +const First = ({ + navigation, +}: { + navigation: NativeStackNavigationProp; +}) => ( + + Screen 1 +