import React, {PropTypes, Component} from 'react' import classnames from 'classnames' import RequestActionsDropdown from '../containers/RequestActionsDropdown' import Editable from './base/Editable' import MethodTag from './MethodTag' import * as db from '../database' const SidebarRequestRow = ({request, requestGroup, isActive, activateRequest}) => { if (!request) { return (
  • ) } return (
  • ) }; SidebarRequestRow.propTypes = { // Functions activateRequest: PropTypes.func.isRequired, // Other isActive: PropTypes.bool.isRequired, // Optional requestGroup: PropTypes.object, request: PropTypes.object }; export default SidebarRequestRow;