diff --git a/TestsExample/App.js b/TestsExample/App.js index 9207cb2cdb..8e04dd995a 100644 --- a/TestsExample/App.js +++ b/TestsExample/App.js @@ -75,6 +75,7 @@ import Test1214 from './src/Test1214'; import Test1227 from './src/Test1227'; import Test1228 from './src/Test1228'; import Test1259 from './src/Test1259'; +import Test1260 from './src/Test1260'; enableFreeze(true); diff --git a/TestsExample/src/Test1260.tsx b/TestsExample/src/Test1260.tsx new file mode 100644 index 0000000000..a98cc7c965 --- /dev/null +++ b/TestsExample/src/Test1260.tsx @@ -0,0 +1,37 @@ +import * as React from 'react'; +import {Button, View} from 'react-native'; +import {NavigationContainer, ParamListBase} from '@react-navigation/native'; +import {createNativeStackNavigator, NativeStackNavigationProp} from 'react-native-screens/native-stack'; + +const Stack = createNativeStackNavigator(); + +export default function App() { + return ( + + + + + + + ); +} + +function First({navigation}: {navigation: NativeStackNavigationProp}) { + return ( + +