diff --git a/static/assets/7.x/native-stack/presentation-card.mp4 b/static/assets/7.x/native-stack/presentation-card.mp4 new file mode 100644 index 0000000000..4040ea8487 Binary files /dev/null and b/static/assets/7.x/native-stack/presentation-card.mp4 differ diff --git a/static/assets/7.x/native-stack/presentation-containedModal.mp4 b/static/assets/7.x/native-stack/presentation-containedModal.mp4 new file mode 100644 index 0000000000..0cb4cba351 Binary files /dev/null and b/static/assets/7.x/native-stack/presentation-containedModal.mp4 differ diff --git a/static/assets/7.x/native-stack/presentation-containedTransparentModal.mp4 b/static/assets/7.x/native-stack/presentation-containedTransparentModal.mp4 new file mode 100644 index 0000000000..3495fe3229 Binary files /dev/null and b/static/assets/7.x/native-stack/presentation-containedTransparentModal.mp4 differ diff --git a/static/assets/7.x/native-stack/presentation-formSheet.mp4 b/static/assets/7.x/native-stack/presentation-formSheet.mp4 new file mode 100644 index 0000000000..52de749077 Binary files /dev/null and b/static/assets/7.x/native-stack/presentation-formSheet.mp4 differ diff --git a/static/assets/7.x/native-stack/presentation-fullScreenModal.mp4 b/static/assets/7.x/native-stack/presentation-fullScreenModal.mp4 new file mode 100644 index 0000000000..1b0262072d Binary files /dev/null and b/static/assets/7.x/native-stack/presentation-fullScreenModal.mp4 differ diff --git a/static/assets/7.x/native-stack/presentation-modal.mp4 b/static/assets/7.x/native-stack/presentation-modal.mp4 new file mode 100644 index 0000000000..58ba8739e0 Binary files /dev/null and b/static/assets/7.x/native-stack/presentation-modal.mp4 differ diff --git a/static/assets/7.x/native-stack/presentation-transparentModal.mp4 b/static/assets/7.x/native-stack/presentation-transparentModal.mp4 new file mode 100644 index 0000000000..49ee088dac Binary files /dev/null and b/static/assets/7.x/native-stack/presentation-transparentModal.mp4 differ diff --git a/versioned_docs/version-7.x/native-stack-navigator.md b/versioned_docs/version-7.x/native-stack-navigator.md index 3acac800c0..cc9ee8cf19 100755 --- a/versioned_docs/version-7.x/native-stack-navigator.md +++ b/versioned_docs/version-7.x/native-stack-navigator.md @@ -693,17 +693,43 @@ Supported values: How should the screen be presented. +Only supported on Android and iOS. + Supported values: - `card`: the new screen will be pushed onto a stack, which means the default animation will be slide from the side on iOS, the animation on Android will vary depending on the OS version and theme. + + - `modal`: the new screen will be presented modally. this also allows for a nested stack to be rendered inside the screen. + + - `transparentModal`: the new screen will be presented modally, but in addition, the previous screen will stay so that the content below can still be seen if the screen has translucent background. + + - `containedModal`: will use "UIModalPresentationCurrentContext" modal style on iOS and will fallback to "modal" on Android. + + - `containedTransparentModal`: will use "UIModalPresentationOverCurrentContext" modal style on iOS and will fallback to "transparentModal" on Android. + + - `fullScreenModal`: will use "UIModalPresentationFullScreen" modal style on iOS and will fallback to "modal" on Android. A screen using this presentation style can't be dismissed by gesture. + - `formSheet`: will use "UIModalPresentationFormSheet" modal style on iOS and will fallback to "modal" on Android. - -Only supported on Android and iOS. + #### `orientation`