import React, { Component } from 'react' import PropTypes from 'prop-types' import Isvg from 'react-inlinesvg' import zapLogo from 'icons/zap_logo.svg' import FormContainer from './FormContainer' import Alias from './Alias' import Syncing from './Syncing' import styles from './Onboarding.scss' class Onboarding extends Component { render() { const { onboarding: { step }, syncingProps } = this.props const renderStep = () => { console.log('step: ', step) switch(step) { case 1: return ( console.log('alias next')} > ) default: return } } return (
{renderStep()}
) } } Onboarding.propTypes = { syncingProps: PropTypes.object.isRequired } export default Onboarding