Answers for "how to scroll horizontally with flatlist react native"

1

react native flatlist horizontal scroll

<FlatList
  horizontal
  pagingEnabled={true}
  showsHorizontalScrollIndicator={false}
  legacyImplementation={false}
  data={this.props.photos}
  renderItem={item => this.renderPhoto(item)}
  keyExtractor={photo => photo.id}
  style={{width: SCREEN_WIDTH + 5, height:'100%'}}
/>
Posted by: Guest on September-06-2020

Code answers related to "how to scroll horizontally with flatlist react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language