import React, {PropTypes} from 'react' import classnames from 'classnames' import RequestActionsDropdown from './../containers/RequestActionsDropdown' 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;