NavigatorIOS docs: need to import PropTypes
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.** (You can skip this if you're fixing a typo or adding an app to the Showcase.) 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/face Closes https://github.com/facebook/react-native/pull/9141 Differential Revision: D3650195 Pulled By: hramos fbshipit-source-id: 2a4bb06f92109b36bec761259e13a5782cc9929b
This commit is contained in:
parent
36ca1a078a
commit
b44d617999
|
@ -110,7 +110,7 @@ type Event = Object;
|
|||
* navigates to. `initialRoute` represents the first route in your navigator.
|
||||
*
|
||||
* ```
|
||||
* import React, { Component } from 'react';
|
||||
* import React, { Component, PropTypes } from 'react';
|
||||
* import { NavigatorIOS, Text } from 'react-native';
|
||||
*
|
||||
* export default class NavigatorIOSApp extends Component {
|
||||
|
|
Loading…
Reference in New Issue