import React, {Component, PropTypes} from 'react' import Dropdown from './base/Dropdown' import DebouncingInput from './base/DebouncingInput' class Sidebar extends Component { onFilterChange (value) { this.props.changeFilter(value); } render () { const { requests, activeRequest, activeFilter, loading, activateRequest, addRequest } = this.props; return ( ) } } Sidebar.propTypes = { activateRequest: PropTypes.func.isRequired, addRequest: PropTypes.func.isRequired, changeFilter: PropTypes.func.isRequired, activeFilter: PropTypes.string, requests: PropTypes.array.isRequired, activeRequest: PropTypes.object, loading: PropTypes.bool.isRequired }; export default Sidebar;