import React, {PropTypes} from 'react' import classnames from 'classnames' import RequestGroupActionsDropdown from './../containers/RequestGroupActionsDropdown' import SidebarRequestRow from './SidebarRequestRow' const SidebarRequestGroupRow = ({ children, requestGroup, isActive, toggleRequestGroup, addRequestToRequestGroup }) => { let folderIconClass = 'fa-folder'; let expanded = !requestGroup.collapsed; folderIconClass += !expanded ? '' : '-open'; folderIconClass += isActive ? '' : '-o'; return (