mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
Don't encourage the use of internal modules
This commit is contained in:
parent
97bf9a6b4d
commit
82ca3364c6
@ -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 (
|
||||
|
Loading…
x
Reference in New Issue
Block a user