Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created May 9, 2018 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/c7bcb5e4f3e3bf3a10949ff10d3ea958 to your computer and use it in GitHub Desktop.
Save gdyrrahitis/c7bcb5e4f3e3bf3a10949ff10d3ea958 to your computer and use it in GitHub Desktop.
import React from "react";
import ReactDOM from "react-dom";
import { Jumbotron } from "./jumbotron";
import { Greet } from "./greet";
import { FormContainer } from "./form-container";
export class App extends React.Component {
constructor(props) {
super();
this.props = props;
}
render() {
const store = this.props.store;
const hello = this.props.hello;
return <div>
<div className="container">
<Jumbotron hello={hello} />
<FormContainer store={store} />
<Greet store={store} />
</div>
</div>
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment