You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
774 B

import React from 'react'
import PropTypes from 'prop-types'
import { FaArrowLeft, FaArrowRight } from 'react-icons/lib/fa'
import styles from './Footer.scss'
const Footer = ({ step, changeStep }) => {
if ( step === 1 ) { return null }
if (step === 4 ) { return null }
return (
<div className={styles.footer}>
<div className='buttonContainer circleContainer'>
<div className='buttonPrimary circle'onClick={() => changeStep(step - 1)}>
<FaArrowLeft />
</div>
</div>
<div className='buttonContainer circleContainer' onClick={() => changeStep(step + 1)}>
<div className='buttonPrimary circle'>
<FaArrowRight />
</div>
</div>
</div>
)
}
Footer.propTypes = {}
export default Footer