import React, {Component, PropTypes} from 'react' import CodeEditor from '../components/CodeEditor' import UrlInput from '../components/UrlInput' import {Tab, Tabs, TabList, TabPanel} from 'react-tabs'; // Don't inject component styles (use our own) Tabs.setUseDefaultStyles(false); class RequestPane extends Component { shouldComponentUpdate (nextProps, nextState) { return nextProps.request !== this.props.request; } render () { const {request, updateRequestBody, updateRequestUrl} = this.props; return (
Params Basic Auth Headers
); } } RequestPane.propTypes = { updateRequestUrl: PropTypes.func.isRequired, updateRequestBody: PropTypes.func.isRequired, request: PropTypes.object.isRequired }; export default RequestPane;