Merge pull request #4119 from corbt/documentation_native_android

Import PropTypes in Native UI Android Docs
This commit is contained in:
James Ide 2015-11-13 13:11:39 -08:00
commit e6ad27b417
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ The very final step is to create the JavaScript module that defines the interfac
```js
// ImageView.js
var { requireNativeComponent } = require('react-native');
var { requireNativeComponent, PropTypes } = require('react-native');
var iface = {
name: 'ImageView',