How to change default colors of React Native Swiper component?

This component has a prop named 'dot', which you can change the style of the dot.

<View style={{
      backgroundColor:'rgba(0,0,0,.2)', 
      width: 8, 
      height: 8,       
      borderRadius: 4, 
      marginLeft: 3, 
      marginRight: 3, 
      marginTop: 3, 
      marginBottom: 3,}} 
/>