Created
November 30, 2017 11:17
-
-
Save samuelayo/8e2c2e8234a2574b4663b5eef191b432 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 * as React from "react"; | |
import * as ReactDOM from "react-dom"; | |
import FirstComponent from './src/FirstComponent' | |
import UserComponent from './src/UserComponent' | |
ReactDOM.render( | |
<div> | |
<h1>Hello, Welcome to the first page</h1> | |
<FirstComponent/> | |
<UserComponent name="Logrocket" age={105} address="get me if you can" dob={new Date()} /> | |
</div>, | |
document.getElementById("root") | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment