Created
November 5, 2018 14:33
-
-
Save tsamaya/bf54623f7585165899cf41a5080272f1 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
// ./src/ResultJSON.js | |
import React, { Component } from 'react'; | |
import './ResultJSON.css'; | |
class ResultJSON extends Component { | |
render() { | |
return ( | |
<article className="message"> | |
<div className="message-body"> | |
<pre>{JSON.stringify(this.props.response, null, 2)}</pre> | |
</div> | |
</article> | |
); | |
} | |
} | |
export default ResultJSON; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment