From b44d61799963c693a5e06f7ad9336d07855e9973 Mon Sep 17 00:00:00 2001 From: Will Moritz Date: Mon, 1 Aug 2016 11:54:25 -0700 Subject: [PATCH] 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 --- Libraries/Components/Navigation/NavigatorIOS.ios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/Navigation/NavigatorIOS.ios.js b/Libraries/Components/Navigation/NavigatorIOS.ios.js index f08271225..922bfde8c 100644 --- a/Libraries/Components/Navigation/NavigatorIOS.ios.js +++ b/Libraries/Components/Navigation/NavigatorIOS.ios.js @@ -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 {