mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
parent
09e396002f
commit
5576b84d8a
@ -65,6 +65,8 @@ MyApp.router.getStateForAction = (action, state) => {
|
||||
Sometimes you may want to prevent some navigation activity, depending on your route.
|
||||
|
||||
```js
|
||||
import { NavigationActions } from 'react-navigation'
|
||||
|
||||
const MyStackRouter = StackRouter({
|
||||
Home: { screen: HomeScreen },
|
||||
Profile: { screen: ProfileScreen },
|
||||
|
Loading…
x
Reference in New Issue
Block a user