mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 09:35:19 +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.
|
Sometimes you may want to prevent some navigation activity, depending on your route.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
import { NavigationActions } from 'react-navigation'
|
||||||
|
|
||||||
const MyStackRouter = StackRouter({
|
const MyStackRouter = StackRouter({
|
||||||
Home: { screen: HomeScreen },
|
Home: { screen: HomeScreen },
|
||||||
Profile: { screen: ProfileScreen },
|
Profile: { screen: ProfileScreen },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user