Skip to content

Instantly share code, notes, and snippets.

Last active Sep 17, 2018
What would you like to do?
import * as React from 'react';
import PageInterface from '../PageInterface';
class App extends React.Component<PageInterface, {}> {
render() {
return (<div>
<h1>Welcome to React with Typescript</h1>
<p>The color of this page is: {this.props.color}</p>
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment