mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-22 19:58:32 +08:00
Fix typo in onDismissed prop name (#288)
The prop is called `onDismissed` according to the codee00a08a3dc/android/src/main/java/com/swmansion/rnscreens/ScreenViewManager.java (L65)e00a08a3dc/ios/RNSScreen.h (L43)
This commit is contained in:
committed by
Michał Osadnik
parent
623f9452cb
commit
2da04f37e6
@@ -131,7 +131,7 @@ Screen stack component expects one or more `Screen` components as direct childre
|
||||
|
||||
`StackScreen` extends the capabilities of `Screen` component to allow additional customizations and to make it possible to handle events such as using hardware back or back gesture to dismiss the top screen. Below is the list of additional properties that can be used for `Screen` component:
|
||||
|
||||
#### `onDismiss`
|
||||
#### `onDismissed`
|
||||
|
||||
A callback that gets called when the current screen is dismissed by hardware back (on Android) or dismiss gesture (swipe back or down). The callback takes no arguments.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user