import React from 'react';

export default class StepConnector extends React.Component{
    render(){
        return(
            <div key='stepConnector'
                className={`stepConnector ${this.props.stepConnectorClassName?this.props.stepConnectorClassName:''}`}
            >

                <div key='circle' className='circle'>
                    {this.props.step.title}
                </div>
                {!this.props.isLast && <div key='line' className='line'></div>}
            </div>
        )
    }
}