import React, { PropTypes } from 'react'; import { PanelGroup, Thumbnail, Panel, Well } from 'react-bootstrap'; import moment from 'moment'; export default React.createClass({ displayName: 'ListJobs', propTypes: { handleClick: PropTypes.func, jobs: PropTypes.array }, renderJobs(handleClick, jobs =[]) { const thumbnailStyle = { backgroundColor: 'white', maxHeight: '100px', maxWidth: '100px' }; return jobs.map(( { id, company, position, description, logo, city, state, email, phone, postedOn }, index ) => { const header = (
handleClick(id) }>{ description }