title: React native Flatlist with previous and next button
body: <p>...</p>
  <p>I have Flatlist with array of images i want add previous and next button in this image to slide
  With dot indicator.
  I'm new to react native
  ...</p>
  <pre><code>Const images=[
      require('./assets/image1.png'),
    require('./assets/image2.png'),
    require('./assets/image3.png'),
    require('./assets/image4.png'),
    require('./assets/image5.png')
  ]
  
  Const app =()=&gt;{
  
  return (
  &lt;FlatList 
      horizontal
      showsHorizontalScrollIndicator={false}
      data={images}
      renderItem={({ item }) =&gt; (
          &lt;Image 
              source={item.images}
              style={{
                  width:260,
                  height:300,
                  borderWidth:2,
                  borderColor:'#d35647',
                  resizeMode:'contain',
                  margin:8
              }}
          /&gt;
      )}
  /&gt;
  </code></pre>
  <p>)
  }</p>