Skip to content

Commit 26448eb

Browse files
committed
chore: Created new assets folder, added video for 'headerBackButtonMenuEnabled' option
1 parent bb66506 commit 26448eb

11 files changed

+13
-9
lines changed

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

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@ Requires `react-native-screens` version >=3.3.0.
166166

167167
Only supported on iOS.
168168

169+
<video playsInline autoPlay muted loop>
170+
<source src="/assets/7.x/native-stack/headerBackButtonMenuEnabled/headerBackButtonMenuEnabled.mp4" />
171+
</video>
172+
169173
#### `headerBackVisible`
170174

171175
Whether the back button is visible in the header. You can use it to show a back button alongside `headerLeft` if you have specified it.
@@ -606,47 +610,47 @@ Supported values:
606610

607611
- `default`: use the platform default animation
608612
<video playsInline autoPlay muted loop>
609-
<source src="/assets/7.x/native-stack/native-stack-animation-default.mp4" />
613+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-default.mp4" />
610614
</video>
611615

612616
- `fade`: fade screen in or out
613617
<video playsInline autoPlay muted loop>
614-
<source src="/assets/7.x/native-stack/native-stack-animation-fade.mp4" />
618+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-fade.mp4" />
615619
</video>
616620

617621
- `fade_from_bottom`: fade the new screen from bottom
618622
<video playsInline autoPlay muted loop>
619-
<source src="/assets/7.x/native-stack/native-stack-animation-fade-from-bottom.mp4" />
623+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-fade-from-bottom.mp4" />
620624
</video>
621625

622626
- `flip`: flip the screen, requires `presentation: "modal"` (iOS only)
623627
<video playsInline autoPlay muted loop>
624-
<source src="/assets/7.x/native-stack/native-stack-animation-flip.mp4" />
628+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-flip.mp4" />
625629
</video>
626630

627631
- `simple_push`: default animation, but without shadow and native header transition (iOS only, uses default animation on Android)
628632
<video playsInline autoPlay muted loop>
629-
<source src="/assets/7.x/native-stack/native-stack-animation-simple-push.mp4" />
633+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-simple-push.mp4" />
630634
</video>
631635

632636
- `slide_from_bottom`: slide in the new screen from bottom
633637
<video playsInline autoPlay muted loop>
634-
<source src="/assets/7.x/native-stack/native-stack-animation-slide-from-bottom.mp4" />
638+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-slide-from-bottom.mp4" />
635639
</video>
636640

637641
- `slide_from_right`: slide in the new screen from right (Android only, uses default animation on iOS)
638642
<video playsInline autoPlay muted loop>
639-
<source src="/assets/7.x/native-stack/native-stack-animation-slide-from-right.mp4" />
643+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-slide-from-right.mp4" />
640644
</video>
641645

642646
- `slide_from_left`: slide in the new screen from left (Android only, uses default animation on iOS)
643647
<video playsInline autoPlay muted loop>
644-
<source src="/assets/7.x/native-stack/native-stack-animation-slide-from-left.mp4" />
648+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-slide-from-left.mp4" />
645649
</video>
646650

647651
- `none`: don't animate the screen
648652
<video playsInline autoPlay muted loop>
649-
<source src="/assets/7.x/native-stack/native-stack-animation-none.mp4" />
653+
<source src="/assets/7.x/native-stack/animation/native-stack-animation-none.mp4" />
650654
</video>
651655

652656
#### `presentation`

0 commit comments

Comments
 (0)