Created
February 11, 2016 12:21
-
-
Save kmdsbng/e30310ebc16e73b2aa3d 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
| ///<reference path="../../typings/bundle.d.ts" /> | |
| import * as React from 'react'; | |
| import * as ReactDOM from 'react-dom'; | |
| interface HelloWorldProps {}; | |
| interface HelloWorldStates {}; | |
| class HelloWorld extends React.Component<HelloWorldProps, HelloWorldStates> { | |
| render() { | |
| return ( | |
| <div> | |
| Hello, World! | |
| </div> | |
| ); | |
| } | |
| } | |
| ReactDOM.render( | |
| <HelloWorld />, | |
| document.getElementById('my-app')); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment