import React from 'react' import PropTypes from 'prop-types' import ReactModal from 'react-modal' import { FaClose } from 'react-icons/lib/fa' import StepOne from './StepOne' import StepTwo from './StepTwo' import StepThree from './StepThree' import StepFour from './StepFour' import Footer from './Footer' import styles from './ChannelForm.scss' const ChannelForm = ({ channelform, openChannel, closeChannelForm, changeStep, setNodeKey, setLocalAmount, setPushAmount, channelFormHeader, channelFormProgress, stepTwoIsValid, peers }) => { const renderStep = () => { const { step } = channelform switch (step) { case 1: return case 2: return case 3: return default: return } } return ( document.body} className={styles.modal} >

{channelFormHeader}

{renderStep()}