react-native-app-intro-slider icon indicating copy to clipboard operation
react-native-app-intro-slider copied to clipboard

How can i move the pagination dots vertically up

Open dineshoctal opened this issue 5 years ago • 2 comments

Hello, I am new to react-native, can you help me to move the pagination dots vertically up, I am stuck and not know how can I achieve that.

dineshoctal avatar Oct 14 '20 07:10 dineshoctal

You can add bottom margin to the dots using the dotStyle and activeDotStyle props like this:

<AppIntroSlider
        renderItem={this.renderItem}
        data={this.data}
        dotStyle={{
                marginBottom: 200,
        }}
        activeDotStyle={{
                marginBottom: 200,
        }}
        {...}
 />

loveaurell avatar Nov 26 '20 10:11 loveaurell

How i can allign dots to left or rigt positions if i will apply marging left it will give space between dots kindly help

wasi-sketch avatar Sep 16 '21 02:09 wasi-sketch