diff --git a/apps/src/tests/TestAnimation.tsx b/apps/src/tests/TestAnimation.tsx new file mode 100644 index 000000000..e4058c5df --- /dev/null +++ b/apps/src/tests/TestAnimation.tsx @@ -0,0 +1,104 @@ +import { NavigationContainer, RouteProp } from '@react-navigation/native'; +import { NativeStackNavigationProp, createNativeStackNavigator } from '@react-navigation/native-stack'; +import React from 'react'; +import { View } from 'react-native'; +import { Button, Square } from '../shared'; + +type ParamList = { + Home: undefined; + Second: undefined; + Third: undefined; + Fourth: undefined; + Fifth: undefined; +} + +type RoutePropBase = { + navigation: NativeStackNavigationProp, + route: RouteProp; +} + +const Stack = createNativeStackNavigator(); + +function Contents(): React.ReactNode { + return ( + + + + ); +} + +function Home({ navigation }: RoutePropBase<'Home'>): React.ReactNode { + return ( + + +