insomnia/app/components/ResponsePane.js

23 lines
705 B
JavaScript
Raw Normal View History

2016-03-20 04:00:40 +00:00
import React, {PropTypes} from 'react'
2016-03-20 23:20:00 +00:00
import CodeEditor from '../components/CodeEditor'
2016-03-18 06:30:48 +00:00
const ResponsePane = (props) => (
2016-03-18 21:31:45 +00:00
<section id="response" className="pane col grid-v">
2016-03-20 04:00:40 +00:00
<header className="pane__header text-center bg-super-light">
<div className="pane__header__content">
2016-03-18 06:30:48 +00:00
<div className="tag success"><strong>200</strong> SUCCESS</div>
<div className="tag"><strong>GET</strong> https://google.com</div>
</div>
</header>
2016-03-20 04:00:40 +00:00
<div className="pane__body">
2016-03-20 23:20:00 +00:00
<CodeEditor value={'{}'} options={{mode: 'application/json'}}></CodeEditor>
2016-03-18 21:31:45 +00:00
</div>
2016-03-18 06:30:48 +00:00
</section>
);
2016-03-20 04:00:40 +00:00
ResponsePane.propTypes = {
request: PropTypes.object.isRequired
};
2016-03-18 06:30:48 +00:00
export default ResponsePane;