Navigator wasn't imported

Summary:
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:

> **Unless you are a React Native release maintainer and cherry-picking an *existing* commit into a current release, ensure your pull request is targeting the `master` React Native branch.**

Explain the **motivation** for making this change. What existing problem does the pull request solve?

Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.

**Test plan (required)**

Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.

Make sure tests pass on both Travis and Circle CI.

**Code formatting**

Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide).

For more info, see
Closes https://github.com/facebook/react-native/pull/9556

Differential Revision: D3764387

fbshipit-source-id: 71cc80eff351298c1b3ac5a134191a7b64ea649c
This commit is contained in:
Muhammad Raihan Muhaimin 2016-08-24 09:14:36 -07:00 committed by Facebook Github Bot 1
parent 9840ced929
commit 228dcd15d6
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ For simplicity's sake, let's define a simple scene that displays a bit of text.
```javascript ```javascript
import React, { Component } from 'react'; import React, { Component } from 'react';
import { View, Text } from 'react-native'; import { View, Text, Navigator } from 'react-native';
export default class MyScene extends Component { export default class MyScene extends Component {
static get defaultProps() { static get defaultProps() {