Skip to content

Instantly share code, notes, and snippets.

@santosh-btc
Created June 3, 2018 12:47
Show Gist options
  • Save santosh-btc/987a58e5df22594659a67f9f59297f60 to your computer and use it in GitHub Desktop.
Save santosh-btc/987a58e5df22594659a67f9f59297f60 to your computer and use it in GitHub Desktop.
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