diff --git a/FabricTestExample/App.js b/FabricTestExample/App.js index 2aea269a4d..5cbb5f7fb1 100644 --- a/FabricTestExample/App.js +++ b/FabricTestExample/App.js @@ -90,6 +90,7 @@ import Test1802 from './src/Test1802'; import Test1829 from './src/Test1829'; import Test1844 from './src/Test1844'; import Test1864 from './src/Test1864'; +import Test1970 from './src/Test1970'; import TestScreenAnimation from './src/TestScreenAnimation'; import Test1981 from './src/Test1981'; import Test2008 from './src/Test2008'; diff --git a/FabricTestExample/src/Test1970.jsx b/FabricTestExample/src/Test1970.jsx new file mode 100644 index 0000000000..c6c8377b84 --- /dev/null +++ b/FabricTestExample/src/Test1970.jsx @@ -0,0 +1,73 @@ +import { NavigationContainer, useNavigation } from '@react-navigation/native'; +import { createNativeStackNavigator } from '@react-navigation/native-stack'; +import { Button, StyleSheet, Text } from 'react-native'; + +const Stack = createNativeStackNavigator(); + +const Home = () => { + const navigation = useNavigation(); + + return ( + <> + Home Screen - Portrait +