content: import React from 'react';
  import ReactDOM from 'react-dom'
  import SortFilter from './SortFilter'
  import CheckboxList from './CheckboxList'
  
  class Sidebar extends React.Component {
  
  	constructor(props) {
  		super(props);
  	}
  
  	render(){
  	
  		const { sortFilter, checkedList, handleChange } = this.props;
  		
  		return (
  			<div id="sidebar" >
  					<label htmlFor="sort by" className="titleLabel">By Age</label>
  					<div id="sortMenu">
  						<SortFilter sortFilter={sortFilter} />
  						<CheckboxList checkedList={checkedList} handleChange={handleChange} />
  					</div>
  				</div>
  			);
  	}
  
  }
  
  export default Sidebar;