Jacse / react-native-app-intro-slider

Simple and configurable app introduction slider for react native
MIT License
1.66k stars 330 forks source link

How can i move the pagination dots vertically up #219

Open dineshoctal opened 4 years ago

dineshoctal commented 4 years ago

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.

loveaurell commented 3 years ago

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,
        }}
        {...}
 />
wasi-sketch commented 3 years ago

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