diff --git a/FabricTestExample/App.js b/FabricTestExample/App.js index 5c8753e..70a8903 100644 --- a/FabricTestExample/App.js +++ b/FabricTestExample/App.js @@ -86,6 +86,7 @@ import Test1649 from './src/Test1649'; import Test1683 from './src/Test1683'; import Test1726 from './src/Test1726'; import Test1844 from './src/Test1844'; +import Test1864 from './src/Test1864'; enableFreeze(true); diff --git a/FabricTestExample/src/Test1864.tsx b/FabricTestExample/src/Test1864.tsx new file mode 100644 index 0000000..4ce08b7 --- /dev/null +++ b/FabricTestExample/src/Test1864.tsx @@ -0,0 +1,76 @@ +import * as React from 'react'; +import { Button, View, Text } from 'react-native'; +import { NavigationContainer, ParamListBase } from '@react-navigation/native'; +import { createNativeStackNavigator } from '@react-navigation/native-stack'; +import { NativeStackNavigationProp } from 'react-native-screens/native-stack'; + +const Stack = createNativeStackNavigator(); + +type NavProp = { + navigation: NativeStackNavigationProp; +}; + +export default function App() { + return ( + + + + + + + + + ); +} + +const ScreenA = ({ navigation }: NavProp) => ( + + Screen A +