Reputation: 605
I want to break the line of text in TextInput when reaches to end of TextInput.
I don't want to increase the height of TextInput. It will be scrollable inside TextInput.
I did try FlexWrap
but it didn't work for me.
Thanks!!!
Upvotes: 1
Views: 55
Reputation: 8243
use multiline={true}
:
<TextInput
multiline={true}
numberOfLines={4}
style={{ height:200, textAlignVertical: 'top',}}
...
/>
Upvotes: 1