import { Card, Image } from "antd";
import { EGiftCard } from "../type";

export default function ECardList({ eGiftCards }: { eGiftCards: EGiftCard[] }) {
  return (
    <>
      {eGiftCards.map((card: EGiftCard) => (
        <Card key={card.id}>
          <Image src={card.imageURL} alt={card.image} />
        </Card>
      ))}
    </>
  );
}
