File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -203,23 +203,27 @@ export default class AppIntro extends Component {
203203 }
204204 return (
205205 < View style = { [ this . styles . paginationContainer ] } >
206- { this . props . showSkipButton && < SkipButton
206+ { this . props . showSkipButton ? < SkipButton
207207 { ...this . props }
208208 { ...this . state }
209209 isSkipBtnShow = { isSkipBtnShow }
210210 styles = { this . styles }
211- onSkipBtnClick = { ( ) => this . props . onSkipBtnClick ( index ) } /> }
211+ onSkipBtnClick = { ( ) => this . props . onSkipBtnClick ( index ) } /> :
212+ < View style = { this . styles . btnContainer } />
213+ }
212214 { this . props . showDots && RenderDots ( index , total , {
213215 ...this . props ,
214216 styles : this . styles
215217 } ) }
216- { this . props . showDoneButton && < DoneButton
218+ { this . props . showDoneButton ? < DoneButton
217219 { ...this . props }
218220 { ...this . state }
219221 isDoneBtnShow = { isDoneBtnShow }
220222 styles = { this . styles }
221223 onNextBtnClick = { this . onNextBtnClick . bind ( this , context ) }
222- onDoneBtnClick = { this . props . onDoneBtnClick } /> }
224+ onDoneBtnClick = { this . props . onDoneBtnClick } /> :
225+ < View style = { this . styles . btnContainer } />
226+ }
223227 </ View >
224228 ) ;
225229 }
You can’t perform that action at this time.
0 commit comments