@@ -278,10 +278,9 @@ export default class AppIntro extends Component {
278278 isSkipBtnShow = true ;
279279 }
280280 let controllBts ;
281- const { paginationStyles} = this . props ;
282281 if ( Platform . OS === 'ios' ) {
283282 controllBts = (
284- < View style = { [ this . styles . paginationContainer , paginationStyles ] } >
283+ < View style = { [ this . styles . paginationContainer ] } >
285284 { this . renderSkipButton ( ) }
286285 < View style = { this . styles . dotContainer } >
287286 { dots }
@@ -291,7 +290,7 @@ export default class AppIntro extends Component {
291290 ) ;
292291 } else {
293292 controllBts = (
294- < View style = { [ this . styles . paginationContainer , paginationStyles ] } >
293+ < View style = { [ this . styles . paginationContainer ] } >
295294 < View style = { [ this . styles . btnContainer , {
296295 paddingBottom : 5 ,
297296 opacity : isSkipBtnShow ? 1 : 0 ,
@@ -456,9 +455,7 @@ AppIntro.propTypes = {
456455 showSkipButton : PropTypes . bool ,
457456 showDoneButton : PropTypes . bool ,
458457 renderDoneButton : PropTypes . element ,
459- renderSkipButton : PropTypes . element ,
460- paginationStyles : PropTypes . object ,
461- dotStyles : PropTypes . object
458+ renderSkipButton : PropTypes . element
462459} ;
463460
464461AppIntro . defaultProps = {
@@ -476,7 +473,5 @@ AppIntro.defaultProps = {
476473 nextBtnLabel : '›' ,
477474 defaultIndex : 0 ,
478475 showSkipButton : true ,
479- showDoneButton : true ,
480- paginationStyles : { } ,
481- dotStyles : { }
476+ showDoneButton : true
482477} ;
0 commit comments