Skip to content

Commit 4ec4997

Browse files
[autofix.ci] apply automated fixes
1 parent 33037af commit 4ec4997

File tree

1 file changed

+39
-4
lines changed

1 file changed

+39
-4
lines changed

versioned_docs/version-7.x/native-stack-navigator.md

+39-4
Original file line numberDiff line numberDiff line change
@@ -594,13 +594,13 @@ The type of animation to use when this screen replaces another screen. Defaults
594594
Supported values:
595595

596596
- `push`: the new screen will perform push animation.
597-
597+
598598
<video playsInline autoPlay muted loop>
599599
<source src="/assets/7.x/native-stack/animationTypeForReplace/push.mp4" />
600600
</video>
601601

602602
- `pop`: the new screen will perform pop animation.
603-
603+
604604
<video playsInline autoPlay muted loop>
605605
<source src="/assets/7.x/native-stack/animationTypeForReplace/pop.mp4" />
606606
</video>
@@ -609,19 +609,54 @@ Supported values:
609609

610610
How the screen should animate when pushed or popped.
611611

612+
Only supported on Android and iOS.
613+
612614
Supported values:
613615

614616
- `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+
615621
- `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+
616626
- `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+
617631
- `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+
618636
- `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+
619641
- `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+
620646
- `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+
621651
- `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>
623655

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>
625660

626661
#### `presentation`
627662

0 commit comments

Comments
 (0)