feat: add iOS modal presentation style

This commit is contained in:
satyajit.happy
2019-06-07 15:05:52 +02:00
parent 2da09926d5
commit c6ba6e8c1c
9 changed files with 169 additions and 23 deletions

View File

@@ -18,6 +18,7 @@ import WipeStack from './src/WipeStack';
import ImageStack from './src/ImageStack';
import TransparentStack from './src/TransparentStack';
import ModalStack from './src/ModalStack';
import ModalPresentation from './src/ModalPresentation';
import LifecycleInteraction from './src/LifecycleInteraction';
import GestureInteraction from './src/GestureInteraction';
import SwitchWithStacks from './src/SwitchWithStacks';
@@ -43,6 +44,11 @@ const data = [
{ component: WipeStack, title: 'Wipe Preset', routeName: 'Wipe' },
{ component: ImageStack, title: 'Image', routeName: 'ImageStack' },
{ component: ModalStack, title: 'Modal', routeName: 'ModalStack' },
{
component: ModalPresentation,
title: 'Modal (iOS style)',
routeName: 'ModalPresentation',
},
{ component: FullScreen, title: 'Full Screen', routeName: 'FullScreen' },
{
component: LifecycleInteraction,