Skip to content

Commit

Permalink
update to RN0.50.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hzlgit committed Dec 29, 2017
1 parent 811ca57 commit eade5fb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion chatinput.android.js
Expand Up @@ -10,6 +10,7 @@ var {
StyleSheet,
View,
requireNativeComponent,
ViewPropTypes
} = ReactNative;
import PropTypes from 'prop-types'

Expand Down Expand Up @@ -89,7 +90,7 @@ ChatInput.propTypes = {
onShowKeyboard: PropTypes.func,
onFeatureView: PropTypes.func,
onEditTextChange: PropTypes.func,
...View.propTypes
...ViewPropTypes
};

var RCTChatInput = requireNativeComponent('RCTChatInput', ChatInput);
4 changes: 2 additions & 2 deletions chatinput.ios.js
@@ -1,5 +1,5 @@
import React, {Component} from 'react';
import {View, requireNativeComponent,NativeModules} from 'react-native';
import {View, requireNativeComponent,NativeModules,ViewPropTypes} from 'react-native';
import PropTypes from 'prop-types'

export default class ChatInput extends Component {
Expand Down Expand Up @@ -64,7 +64,7 @@ export default class ChatInput extends Component {
}
}
ChatInput.propTypes = {
...View.propTypes,
...ViewPropTypes,
// menuViewH:PropTypes.number,
defaultToolHeight:PropTypes.number,
onFeatureView:PropTypes.func,
Expand Down
3 changes: 2 additions & 1 deletion messagelist.android.js
Expand Up @@ -11,6 +11,7 @@ var {
StyleSheet,
View,
requireNativeComponent,
ViewPropTypes
} = ReactNative;
import PropTypes from 'prop-types'

Expand Down Expand Up @@ -123,7 +124,7 @@ MessageList.propTypes = {
datePadding: PropTypes.number,
avatarSize: PropTypes.object,
isShowDisplayName: PropTypes.bool,
...View.propTypes
...ViewPropTypes
};

var RCTMessageList = requireNativeComponent('RCTMessageList', MessageList);
Expand Down
3 changes: 2 additions & 1 deletion messagelist.ios.js
Expand Up @@ -11,6 +11,7 @@ var {
StyleSheet,
View,
requireNativeComponent,
ViewPropTypes
} = ReactNative;
import PropTypes from 'prop-types'

Expand Down Expand Up @@ -151,7 +152,7 @@ MessageList.propTypes = {
isShowDisplayName: PropTypes.bool,
isShowIncommingDisplayName: PropTypes.bool,
isShowOutgoingDisplayName: PropTypes.bool,
...View.propTypes
...ViewPropTypes
};

var RCTMessageList = requireNativeComponent('RCTMessageListView', MessageList);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -81,5 +81,5 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"version": "1.0.5"
"version": "1.0.6"
}

0 comments on commit eade5fb

Please sign in to comment.