Skip to content

Commit eade5fb

Browse files
committed
update to RN0.50.1
1 parent 811ca57 commit eade5fb

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

chatinput.android.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ var {
1010
StyleSheet,
1111
View,
1212
requireNativeComponent,
13+
ViewPropTypes
1314
} = ReactNative;
1415
import PropTypes from 'prop-types'
1516

@@ -89,7 +90,7 @@ ChatInput.propTypes = {
8990
onShowKeyboard: PropTypes.func,
9091
onFeatureView: PropTypes.func,
9192
onEditTextChange: PropTypes.func,
92-
...View.propTypes
93+
...ViewPropTypes
9394
};
9495

9596
var RCTChatInput = requireNativeComponent('RCTChatInput', ChatInput);

chatinput.ios.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, {Component} from 'react';
2-
import {View, requireNativeComponent,NativeModules} from 'react-native';
2+
import {View, requireNativeComponent,NativeModules,ViewPropTypes} from 'react-native';
33
import PropTypes from 'prop-types'
44

55
export default class ChatInput extends Component {
@@ -64,7 +64,7 @@ export default class ChatInput extends Component {
6464
}
6565
}
6666
ChatInput.propTypes = {
67-
...View.propTypes,
67+
...ViewPropTypes,
6868
// menuViewH:PropTypes.number,
6969
defaultToolHeight:PropTypes.number,
7070
onFeatureView:PropTypes.func,

messagelist.android.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var {
1111
StyleSheet,
1212
View,
1313
requireNativeComponent,
14+
ViewPropTypes
1415
} = ReactNative;
1516
import PropTypes from 'prop-types'
1617

@@ -123,7 +124,7 @@ MessageList.propTypes = {
123124
datePadding: PropTypes.number,
124125
avatarSize: PropTypes.object,
125126
isShowDisplayName: PropTypes.bool,
126-
...View.propTypes
127+
...ViewPropTypes
127128
};
128129

129130
var RCTMessageList = requireNativeComponent('RCTMessageList', MessageList);

messagelist.ios.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ var {
1111
StyleSheet,
1212
View,
1313
requireNativeComponent,
14+
ViewPropTypes
1415
} = ReactNative;
1516
import PropTypes from 'prop-types'
1617

@@ -151,7 +152,7 @@ MessageList.propTypes = {
151152
isShowDisplayName: PropTypes.bool,
152153
isShowIncommingDisplayName: PropTypes.bool,
153154
isShowOutgoingDisplayName: PropTypes.bool,
154-
...View.propTypes
155+
...ViewPropTypes
155156
};
156157

157158
var RCTMessageList = requireNativeComponent('RCTMessageListView', MessageList);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@
8181
"scripts": {
8282
"test": "echo \"Error: no test specified\" && exit 1"
8383
},
84-
"version": "1.0.5"
84+
"version": "1.0.6"
8585
}

0 commit comments

Comments
 (0)