react native text area form

Solutions on MaxInterview for react native text area form by the best coders in the world

showing results for - "react native text area form"
Pietro
04 Apr 2020
1  <View style={styles.textAreaContainer} >
2    <TextInput
3      style={styles.textArea}
4      underlineColorAndroid="transparent"
5      placeholder="Type something"
6      placeholderTextColor="grey"
7      numberOfLines={10}
8      multiline={true}
9    />
10  </View>
11...
12
13const styles = StyleSheet.create({
14  textAreaContainer: {
15    borderColor: COLORS.grey20,
16    borderWidth: 1,
17    padding: 5
18  },
19  textArea: {
20    height: 150,
21    justifyContent: "flex-start",
22    textAlignVertical: 'top'
23  }
24})