Last active
September 2, 2019 02:42
-
-
Save ryanpedersen42/c4642e2cbe5a8eccbef092d14feaa9de to your computer and use it in GitHub Desktop.
InputForm on MainPage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // src/pages/main-page.jsx | |
| // ... other imports removed for brevity | |
| import InputForm from '../../components/input-form/input-form'; | |
| const MainPage = ({ ethAddress, spaceOptions, changeSelectedSpace, selectedSpace, handleNameChange, createNewSpace }) => ( | |
| <Fragment> | |
| <Header /> | |
| <div className='main-page'> | |
| {/* other components removed for brevity */} | |
| <div className='main-page-section'> | |
| <InputForm | |
| handleValueChange={handleValueChange} | |
| handleKeyChange={handleKeyChange} | |
| onSubmit={onSubmit} | |
| inputKey={inputKey} | |
| inputValue={inputValue} | |
| /> | |
| </div> | |
| </div> | |
| </Fragment> | |
| ); | |
| export default MainPage; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment