diff --git a/TestsExample/App.js b/TestsExample/App.js index 9c27219df8..53da704eae 100644 --- a/TestsExample/App.js +++ b/TestsExample/App.js @@ -59,6 +59,7 @@ import Test1072 from './src/Test1072'; import Test1084 from './src/Test1084'; import Test1091 from './src/Test1091'; import Test1096 from './src/Test1096'; +import Test1157 from './src/Test1157'; import Test1162 from './src/Test1162'; export default function App() { diff --git a/TestsExample/src/Test1157.tsx b/TestsExample/src/Test1157.tsx new file mode 100644 index 0000000000..f78f3d2095 --- /dev/null +++ b/TestsExample/src/Test1157.tsx @@ -0,0 +1,62 @@ +import * as React from 'react'; +import {Button, View, TouchableOpacity} from 'react-native'; +import {NavigationContainer, ParamListBase} from '@react-navigation/native'; +import {createNativeStackNavigator, NativeStackNavigationProp} from 'react-native-screens/native-stack'; + +function First({ + navigation, +}: { + navigation: NativeStackNavigationProp; +}) { + return ( + +