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

{channelFormHeader}

{renderStep()}