import React from 'react'; import {View, StyleSheet, ViewProps} from 'react-native'; interface RegistrationWizardProps extends ViewProps { step: 'one' | 'two' | 'three' | 'four' | 'five'; } const RegistrationWizard = (props: RegistrationWizardProps) => { const stepStyle = styles.step; const stepActiveStyle = [styles.step, styles.stepActive]; return ( ); }; const styles = StyleSheet.create({ container: { flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, step: { height: 18, width: 18, borderRadius: 9, borderWidth: 2, borderColor: '#e1f0ff', }, stepActive: { backgroundColor: '#e1f0ff', }, progress: { width: '20%', height: 2, backgroundColor: '#e1f0ff', }, }); export default RegistrationWizard;