Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
11 changes: 10 additions & 1 deletion versioned_docs/version-7.x/native-stack-navigator.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,22 @@ Whether you can use gestures to dismiss this screen. Defaults to `true`. Only su

#### `animationTypeForReplace`

The type of animation to use when this screen replaces another screen. Defaults to `pop`.
The type of animation to use when this screen replaces another screen. Defaults to `push`.

Supported values:

- `push`: the new screen will perform push animation.

<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/animationTypeForReplace-push.mp4" />
</video>

- `pop`: the new screen will perform pop animation.

<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/animationTypeForReplace-pop.mp4" />
</video>

#### `animation`

How the screen should animate when pushed or popped.
Expand Down
Loading