{"size": 413, "ext": "js", "max_stars_repo_path": "food-online/src/components/Restaurants/RestaurantCard.js", "max_stars_repo_name": "april5622/ordering-food-online", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "food-online/src/components/Restaurants/RestaurantCard.js", "max_issues_repo_name": "april5622/ordering-food-online", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "food-online/src/components/Restaurants/RestaurantCard.js", "max_forks_repo_name": "april5622/ordering-food-online", "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": 27.5333333333, "max_line_length": 80, "alphanum_fraction": 0.612590799}
import React from 'react';
import "../../css/Restaurants.css";

const RestaurantCard = (props) => {
    return (
        <div className="restaurant-cards">
            <img src={props.restaurant.photo} />
            <h3 className="restaurant-name">{props.restaurant.name}</h3>
            <p className="restaurant-desc">{props.restaurant.description}</p>   
        </div>
    )
}

export default RestaurantCard
