You can use {‘\n’} as line breaks.
Read moreHow do you reload FlatList in react-native?
For quick and simple solution Try:
Read moreWhat is extraData in FlatList?
The extraData prop is used to re-render the FlatList items dynamically . So what we are doing is that we make 2 Array in our tutorial and render the FlatList using first array object.
Read moreHow do you make a FlatList horizontal?
The FlatList component has a prop named as horizontal={} which support Boolean value True and False . The default value is False and if we define its value to True then it will make our FlatList horizontal with horizontal scrolling enabled.
Read moreWhat is separator in react native?
Dividers are visual separators of content . Use Divider when you want to make a distinction between sections of content. Our divider offers adding inset, color, orientation and subHeader to the component using props. Also receives all View props.
Read moreHow do you use FlatList in react-native class component?
React Native FlatList Component
Read more