add text input in sample app for testing purposes
@@ -19,6 +19,7 @@ import {
TouchableHighlight,
RecyclerViewBackedScrollView,
ActionSheetIOS,
+ TextInput
} from 'react-native';
import Instabug from'instabug-reactnative';
@@ -256,12 +257,18 @@ export default class InstabugSample extends Component {
render() {
console.log(JSON.stringify(this.state));
return (
+ <View>
<ListView
dataSource={this.state.dataSource}
renderRow={this._renderRow.bind(this)}
renderScrollComponent={props => <RecyclerViewBackedScrollView {...props} />}
style={styles.listView}
/>
+ <TextInput
+ style={{height: 40}}
+ placeholder="Type here to translate!"
+ />
+ </View>
);
}
}
