Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 82ca336

Browse files
committed
Don't encourage the use of internal modules
1 parent 97bf9a6 commit 82ca336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/NativeComponentsIOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Since all our native react views are subclasses of `UIView`, most style attribut
294294
```javascript
295295
// DatePickerIOS.ios.js
296296

297-
var RCTDatePickerIOSConsts = require('NativeModules').UIManager.RCTDatePicker.Constants;
297+
var RCTDatePickerIOSConsts = require('react-native').NativeModules.UIManager.RCTDatePicker.Constants;
298298
...
299299
render: function() {
300300
return (

0 commit comments

Comments
 (0)