У меня на iOS не работает
Вот на ios: http://vovkasm.skitch.vovkasm.org/sample_220C9884.png
Вот код свежеинициализированного проекта (я только ненужное выкинул):
import React from 'react'
import {StyleSheet, View, TextInput} from 'react-native'
export default class App extends React.Component {
render() {
return (
<View style={styles.container}>
<TextInput style={styles.input} defaultValue="" />
</View>
)
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
input: {
borderColor: 'black',
borderWidth: 1,
color: 'black',
fontSize: 16,
lineHeight: 18,
minHeight: 50,
width: '100%',
},
});