Skip to content

Instantly share code, notes, and snippets.

@kmdsbng
Created February 11, 2016 12:21
Show Gist options
  • Select an option

  • Save kmdsbng/e30310ebc16e73b2aa3d to your computer and use it in GitHub Desktop.

Select an option

Save kmdsbng/e30310ebc16e73b2aa3d to your computer and use it in GitHub Desktop.
///<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