Created
June 8, 2018 00:16
-
-
Save YKalashnikov/4d74439059ce0032974513bbbbba974a to your computer and use it in GitHub Desktop.
This file contains 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
mport React, {Component, Fragment} from 'react'; | |
import LoginForm from '../components/LoginForm'; | |
class App extends Component { | |
submit = values => { | |
window.alert (JSON.stringify (values)); | |
}; | |
render () { | |
return ( | |
<Fragment> | |
<h1>Redux Form</h1> | |
<LoginForm onSubmit={this.submit} /> | |
</Fragment> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment