diff --git a/packages/react-navigation/docs/api/routers/Routers.md b/packages/react-navigation/docs/api/routers/Routers.md index 89f44811..accc5bb6 100644 --- a/packages/react-navigation/docs/api/routers/Routers.md +++ b/packages/react-navigation/docs/api/routers/Routers.md @@ -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 },