react native flatlist adds margin code example
Example: react native flatlist margin bottom
<FlatList
data={...}
renderItem={...}
horizontal={true}
contentInset={{ right: 20, top: 0, left: 0, bottom: 0 }}
/>
<FlatList
data={...}
renderItem={...}
horizontal={true}
contentInset={{ right: 20, top: 0, left: 0, bottom: 0 }}
/>