Last active
July 7, 2016 09:48
-
-
Save kazagkazag/08fd8c5aabad665a6003e3084106d145 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, {Component} from "react"; | |
| //import { render } from 'react-dom'; | |
| export class MyComponent extends Component { | |
| render() { | |
| return ( | |
| <div className="my-div">My div content</div> | |
| ); | |
| } | |
| } | |
| render( | |
| <MyComponent />, | |
| document.getElementById('app') | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment