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 коммит произвёл Facebook Github Bot
Родитель f17b130c9c
Коммит 92dd6b9c9d
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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 {