Created
June 3, 2018 12:47
-
-
Save santosh-btc/987a58e5df22594659a67f9f59297f60 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
import React, { Component } from 'react'; | |
import { Provider } from "react-redux"; | |
import store from "./store"; | |
import showResults from "./showResults"; | |
import SimpleForm from "./SimpleForm"; | |
class App extends Component { | |
render() { | |
return ( | |
<Provider store={store}> | |
<div style={{ padding: 15 }}> | |
<h2>Simple Form</h2> | |
<SimpleForm onSubmit={showResults} /> | |
</div> | |
</Provider> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment