Last active
September 21, 2018 12:08
-
-
Save calendee/69147a373994add5c2834ac4406fbee1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 "./styles.css"; | |
const App = props => | |
console.log(JSON.stringify(props, null, 4)) || ( | |
<div className="App"> | |
<h1>Hello CodeSandbox</h1> | |
<h2>Start editing to see some magic happen!</h2> | |
</div> | |
); | |
const rootElement = document.getElementById("root"); | |
ReactDOM.render(<App options={{ a: 1, b: 2 }} />, rootElement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment