Fix destructuring-style PropTypes references

Reviewed By: bvaughn

Differential Revision: D5600808

fbshipit-source-id: 8634d199b3480ea5c65ca095a51278efc3c44bcd
This commit is contained in:
Ben Alpert 2017-08-09 23:47:48 -07:00 committed by Facebook Github Bot
parent f17b130c9c
commit 92dd6b9c9d
1 changed files with 2 additions and 1 deletions

View File

@ -141,7 +141,8 @@ type Event = Object;
* navigates to. `initialRoute` represents the first route in your navigator. * navigates to. `initialRoute` represents the first route in your navigator.
* *
* ``` * ```
* import React, { Component, PropTypes } from 'react'; * import PropTypes from 'prop-types';
* import React, { Component } from 'react';
* import { NavigatorIOS, Text } from 'react-native'; * import { NavigatorIOS, Text } from 'react-native';
* *
* export default class NavigatorIOSApp extends Component { * export default class NavigatorIOSApp extends Component {