mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-10 09:13:43 +08:00
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user