react-native-app-intro-slider
react-native-app-intro-slider copied to clipboard
How I can set custom dot?
Hi, I want to set the custom image instead of plain dot on page active and in-active state.
A Quick Example
<AppIntroSlider
.......
activeDotStyle = {styles.activePaginationDots}
dotStyle = {styles.paginationDots}
.......
/>
const styles = StyleSheet.create({
paginationDots: {
width: 10,
height: 3,
borderRadius: 5,
marginRight: 3,
backgroundColor: 'red'
},
activePaginationDots: {
width: 20,
height: 3,
borderRadius: 5,
marginRight: 3,
backgroundColor: 'blue'
},
})
@wicfasho thanks! it worked.