diff --git a/docs/NativeComponentsIOS.md b/docs/NativeComponentsIOS.md index e15a6ef7e..acdaaa62d 100644 --- a/docs/NativeComponentsIOS.md +++ b/docs/NativeComponentsIOS.md @@ -87,8 +87,6 @@ class MapView extends React.Component { } } -var RCTMap = requireNativeComponent('RCTMap', MapView); - MapView.propTypes = { /** * When this property is set to `true` and a valid camera is associated @@ -100,6 +98,8 @@ MapView.propTypes = { pitchEnabled: React.PropTypes.bool, }; +var RCTMap = requireNativeComponent('RCTMap', MapView); + module.exports = MapView; ```