Я не знаю, почему я получаю следующую ошибку с моего симулятора:
Adjacent JSX elements must be wrapped in an enclosing tag
Код:
render() {
return (
<View>
<TextInput
underlineColorAndroid={'transparent'}
style={styles.searchInput}
placeholder='Enter Part Name(s)'
/>
<TextInput
underlineColorAndroid={'transparent'}
style={styles.searchInput}
placeholder='Enter Basic Number(s)'
/>
<Button
onPress={this._onBackPressed}
title='Go'
</Button>
</View>
);
}