import React from 'react'
import PropTypes from 'prop-types'
import { FaCircle, FaCircleThin } from 'react-icons/lib/fa'
import styles from './Autopilot.scss'
const Autopilot = ({ autopilot, setAutopilot }) => (
setAutopilot(true)}>
{autopilot ? : }
Enable Autopilot
setAutopilot(false)}>
{!autopilot && autopilot !== null ? : }
Disable Autopilot
)
Autopilot.propTypes = {
autopilot: PropTypes.bool,
setAutopilot: PropTypes.func.isRequired
}
export default Autopilot