Don't encourage the use of internal modules

This commit is contained in:
Amjad Masad 2015-06-30 13:12:47 -07:00
parent 97bf9a6b4d
commit 82ca3364c6
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ Since all our native react views are subclasses of `UIView`, most style attribut
```javascript
// DatePickerIOS.ios.js
var RCTDatePickerIOSConsts = require('NativeModules').UIManager.RCTDatePicker.Constants;
var RCTDatePickerIOSConsts = require('react-native').NativeModules.UIManager.RCTDatePicker.Constants;
...
render: function() {
return (