-
-
Save gdyrrahitis/c7bcb5e4f3e3bf3a10949ff10d3ea958 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 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