{"size": 677, "ext": "js", "max_stars_repo_path": "app/containers/HomePage/HouseCard.js", "max_stars_repo_name": "oshoferyuk/react_workshop", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/containers/HomePage/HouseCard.js", "max_issues_repo_name": "oshoferyuk/react_workshop", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/containers/HomePage/HouseCard.js", "max_forks_repo_name": "oshoferyuk/react_workshop", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.0740740741, "max_line_length": 55, "alphanum_fraction": 0.5317577548}
import React from 'react';
import PropTypes from 'prop-types';
import P from 'components/P';
import { Panel, Col, Image } from 'react-bootstrap';

const HouseCard = ({property : house}) => (
    <Panel>
        <Panel.Body>
            <Col xs={6} md={4}>
                <Image src={house.picture} thumbnail />
            </Col>    
        
            <P>City: { house.city }</P>          
            <P>Price { house.price }</P>    
        </Panel.Body>    
    </Panel>        
);

HouseCard.propTypes = {
<<<<<<< Updated upstream
    // property: PropTypes.object.isRequired
=======
     property: PropTypes.object,
>>>>>>> Stashed changes
}

export default HouseCard;