Fix destructuring-style PropTypes references
Reviewed By: bvaughn Differential Revision: D5600808 fbshipit-source-id: 8634d199b3480ea5c65ca095a51278efc3c44bcd
This commit is contained in:
parent
f17b130c9c
commit
92dd6b9c9d
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue