import React, { Component } from 'react'; import { View, Text } from 'react-native'; import { ProgressSteps, ProgressStep } from 'react-native-progress-steps'; class ExampleTwo extends Component { static navigationOptions = { header: null }; defaultScrollViewProps = { keyboardShouldPersistTaps: 'handled', contentContainerStyle: { flex: 1, justifyContent: 'center' } }; onNextStep = () => { console.log('called next step'); }; onPrevStep = () => { console.log('called previous step'); }; onSubmitSteps = () => { console.log('called on submit step.'); }; render() { const progressStepsStyle = { activeStepIconBorderColor: '#686868', activeLabelColor: '#686868', activeStepNumColor: 'white', activeStepIconColor: '#686868', completedStepIconColor: '#686868', completedProgressBarColor: '#686868', completedCheckColor: '#4bb543' }; const buttonTextStyle = { color: '#686868', fontWeight: 'bold' }; return ( This is the content within step 1! This is the content within step 2! This is the content within step 3! This is the content within step 4! This is the content within step 5! ); } } export default ExampleTwo;