Created
January 17, 2016 13:58
-
-
Save moritzuehling/052ac43ebc42c86f1143 to your computer and use it in GitHub Desktop.
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
class App extends React.Component<any, any> { | |
public render() { | |
return ( | |
<Router> | |
<Route path="/" component={HomePage}> | |
</Route> | |
</Router> | |
); | |
} | |
} |
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
class HomePage extends React.Component<any, any> { | |
public render() { | |
return ( | |
<span> | |
example. | |
</span> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment