mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 12:25:59 +08:00
[ReactNative] Strip prefixes from NativeModules keys
This commit is contained in:
@@ -56,7 +56,7 @@ var ActivityIndicatorIOS = React.createClass({
|
||||
|
||||
render: function() {
|
||||
var style = styles.sizeSmall;
|
||||
var NativeConstants = NativeModules.RCTUIManager.UIActivityIndicatorView.Constants;
|
||||
var NativeConstants = NativeModules.UIManager.UIActivityIndicatorView.Constants;
|
||||
var activityIndicatorViewStyle = NativeConstants.StyleWhite;
|
||||
if (this.props.size === 'large') {
|
||||
style = styles.sizeLarge;
|
||||
|
||||
Reference in New Issue
Block a user