mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-26 09:14:22 +08:00
feat: add iOS modal presentation style
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user