Merge pull request #4119 from corbt/documentation_native_android
Import PropTypes in Native UI Android Docs
This commit is contained in:
commit
e6ad27b417
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue