Created
July 2, 2018 14:29
-
-
Save niinpatel/257b270bc4693fa0e8bf7b19d3bab866 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 React, {Component} from 'react'; | |
class ResultComponent extends Component { | |
render() { | |
let {result} = this.props; | |
return ( | |
<div className="result"> | |
<p>{result}</p> | |
</div> | |
) | |
; | |
} | |
} | |
export default ResultComponent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment