blob: 6e854ed5f1e7d8bdb6f4451c4f71ea5aa95c2b7a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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;
|