Skip to content

Commit f9b5be9

Browse files
committed
update demo
1 parent bd7307f commit f9b5be9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ReactNative/sample/App.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export default class TestRNIMUI extends Component {
187187
}
188188

189189
onInputViewSizeChange = (size) => {
190-
console.log("height: " + size.height + " width: " + size.width)
190+
console.log("onInputViewSizeChange height: " + size.height + " width: " + size.width)
191191
if (this.state.inputLayoutHeight != size.height) {
192192
this.setState({
193193
inputLayoutHeight: size.height,
@@ -531,16 +531,16 @@ export default class TestRNIMUI extends Component {
531531
compressionQuality={0.6}
532532
hideCameraButton={false}
533533
customLayoutItems={{
534-
left: ['voice'],
535-
right: ['send'],
536-
bottom: ['gallery','emoji','camera','camera']
534+
left: [],
535+
right: [],
536+
bottom: ['voice','gallery','emoji','camera','send']
537537
}}
538538
/>
539539
</View>
540540
);
541541
}
542542
}
543-
543+
// bottom: ['gallery','emoji','camera','camera']
544544
const styles = StyleSheet.create({
545545
sendCustomBtn: {
546546

0 commit comments

Comments
 (0)