Created
January 26, 2018 10:29
-
-
Save rajat1saxena/20f8975fcac8dd938b8bd46ae4c0f53e 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 Counter extends React.Component { | |
// this method should be present in your component | |
render() { | |
return ( | |
<div> | |
{this.props.name} | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment