Skip to content

Commit bd0bfa1

Browse files
committed
add text input in sample app for testing purposes
1 parent f4fc9d5 commit bd0bfa1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

InstabugSample/index.ios.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
TouchableHighlight,
2020
RecyclerViewBackedScrollView,
2121
ActionSheetIOS,
22+
TextInput
2223
} from 'react-native';
2324

2425
import Instabug from'instabug-reactnative';
@@ -256,12 +257,18 @@ export default class InstabugSample extends Component {
256257
render() {
257258
console.log(JSON.stringify(this.state));
258259
return (
260+
<View>
259261
<ListView
260262
dataSource={this.state.dataSource}
261263
renderRow={this._renderRow.bind(this)}
262264
renderScrollComponent={props => <RecyclerViewBackedScrollView {...props} />}
263265
style={styles.listView}
264266
/>
267+
<TextInput
268+
style={{height: 40}}
269+
placeholder="Type here to translate!"
270+
/>
271+
</View>
265272
);
266273
}
267274
}

0 commit comments

Comments
 (0)