Clean up transitioner a bit, fix issue where state is invalid and warn

This commit is contained in:
Brent Vatne
2018-10-30 13:08:06 -07:00
parent 0d5ef9d9ef
commit a8d6962d0f
6 changed files with 116 additions and 56 deletions

View File

@@ -15,6 +15,7 @@ import ModalStack from './src/ModalStack';
import LifecycleInteraction from './src/LifecycleInteraction';
import GestureInteraction from './src/GestureInteraction';
import SwitchWithStacks from './src/SwitchWithStacks';
import StackWithDrawer from './src/StackWithDrawer';
// Comment the following two lines to stop using react-native-screens
import { useScreens } from 'react-native-screens';
@@ -48,6 +49,11 @@ const data = [
title: 'Switch with Stacks',
routeName: 'SwitchWithStacks',
},
{
component: StackWithDrawer,
title: 'Stack with drawer inside',
routeName: 'StackWithDrawer',
},
];
// Cache images