diff --git a/docs/native-components-android.html b/docs/native-components-android.html index 5f8b4695cec..99ab000f44c 100644 --- a/docs/native-components-android.html +++ b/docs/native-components-android.html @@ -31,7 +31,7 @@ public class ReactImageManager extends ); }

5. Implement the JavaScript module #

The very final step is to create the JavaScript module that defines the interface layer between Java and JavaScript for the users of your new view. Much of the effort is handled by internal React code in Java and JavaScript and all that is left for you is to describe the propTypes.

// ImageView.js -var { requireNativeComponent } = require('react-native'); +var { requireNativeComponent, PropTypes } = require('react-native'); var iface = { name: 'ImageView',