import React from 'react';

const AdCard = ({ ad }) => {
  return (
    <div>
      <h2>{ad.title}</h2>
      <p>{ad.description}</p>
      <img src={ad.image} alt={ad.title} />
    </div>
  );
};

export default AdCard;
