Merge pull request #1818 from facebook/amasad-patch-1
Don't encourage the use of internal modules
This commit is contained in:
commit
eee630827a
|
@ -294,7 +294,7 @@ Since all our native react views are subclasses of `UIView`, most style attribut
|
||||||
```javascript
|
```javascript
|
||||||
// DatePickerIOS.ios.js
|
// DatePickerIOS.ios.js
|
||||||
|
|
||||||
var RCTDatePickerIOSConsts = require('NativeModules').UIManager.RCTDatePicker.Constants;
|
var RCTDatePickerIOSConsts = require('react-native').NativeModules.UIManager.RCTDatePicker.Constants;
|
||||||
...
|
...
|
||||||
render: function() {
|
render: function() {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue