Last active
June 12, 2019 05:16
-
-
Save eyaleizenberg/88096111fea6973753fed5b8b39c1f19 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
import * as React from 'react'; | |
export interface Props { | |
name: string; | |
} | |
export class HelloPerson extends React.PureComponent<Props> { | |
render() { | |
return ( | |
<div> | |
<h1>Welcome!</h1> | |
<span id="name">{this.props.name}</span> | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment