From cb9e05a841c352dc282fd8a2dc9616a7d790f0b1 Mon Sep 17 00:00:00 2001 From: Chid Gilovitz Date: Sat, 14 Oct 2017 19:31:46 +0800 Subject: [PATCH] Update Routers.md (#2750) Added import line to code example. --- packages/react-navigation/docs/api/routers/Routers.md | 2 ++ 1 file changed, 2 insertions(+) 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 },