@@ -594,13 +594,13 @@ The type of animation to use when this screen replaces another screen. Defaults
594
594
Supported values:
595
595
596
596
- ` push ` : the new screen will perform push animation.
597
-
597
+
598
598
<video playsInline autoPlay muted loop >
599
599
<source src =" /assets/7.x/native-stack/animationTypeForReplace/push.mp4 " />
600
600
</video >
601
601
602
602
- ` pop ` : the new screen will perform pop animation.
603
-
603
+
604
604
<video playsInline autoPlay muted loop >
605
605
<source src =" /assets/7.x/native-stack/animationTypeForReplace/pop.mp4 " />
606
606
</video >
@@ -609,19 +609,54 @@ Supported values:
609
609
610
610
How the screen should animate when pushed or popped.
611
611
612
+ Only supported on Android and iOS.
613
+
612
614
Supported values:
613
615
614
616
- ` default ` : use the platform default animation
617
+ <video playsInline autoPlay muted loop >
618
+ <source src =" /assets/7.x/native-stack/native-stack-animation-default.mp4 " />
619
+ </video >
620
+
615
621
- ` fade ` : fade screen in or out
622
+ <video playsInline autoPlay muted loop >
623
+ <source src =" /assets/7.x/native-stack/native-stack-animation-fade.mp4 " />
624
+ </video >
625
+
616
626
- ` fade_from_bottom ` : fade the new screen from bottom
627
+ <video playsInline autoPlay muted loop >
628
+ <source src =" /assets/7.x/native-stack/native-stack-animation-fade-from-bottom.mp4 " />
629
+ </video >
630
+
617
631
- ` flip ` : flip the screen, requires ` presentation: "modal" ` (iOS only)
632
+ <video playsInline autoPlay muted loop >
633
+ <source src =" /assets/7.x/native-stack/native-stack-animation-flip.mp4 " />
634
+ </video >
635
+
618
636
- ` simple_push ` : default animation, but without shadow and native header transition (iOS only, uses default animation on Android)
637
+ <video playsInline autoPlay muted loop >
638
+ <source src =" /assets/7.x/native-stack/native-stack-animation-simple-push.mp4 " />
639
+ </video >
640
+
619
641
- ` slide_from_bottom ` : slide in the new screen from bottom
642
+ <video playsInline autoPlay muted loop >
643
+ <source src =" /assets/7.x/native-stack/native-stack-animation-slide-from-bottom.mp4 " />
644
+ </video >
645
+
620
646
- ` slide_from_right ` : slide in the new screen from right (Android only, uses default animation on iOS)
647
+ <video playsInline autoPlay muted loop >
648
+ <source src =" /assets/7.x/native-stack/native-stack-animation-slide-from-right.mp4 " />
649
+ </video >
650
+
621
651
- ` slide_from_left ` : slide in the new screen from left (Android only, uses default animation on iOS)
622
- - ` none ` : don't animate the screen
652
+ <video playsInline autoPlay muted loop >
653
+ <source src =" /assets/7.x/native-stack/native-stack-animation-slide-from-left.mp4 " />
654
+ </video >
623
655
624
- Only supported on Android and iOS.
656
+ - ` none ` : don't animate the screen
657
+ <video playsInline autoPlay muted loop >
658
+ <source src =" /assets/7.x/native-stack/native-stack-animation-none.mp4 " />
659
+ </video >
625
660
626
661
#### ` presentation `
627
662
0 commit comments