This file contains 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 * 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> | |
</div> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment