import React from 'react';

interface GiveawayCardProps {
    title: string;
    description: string;
    imageUrl: string;
}

const GiveawayCard: React.FC<GiveawayCardProps> = ({ title, description, imageUrl }) => {
    return (
        <div className="card">
            <img src={imageUrl} alt={title} className="card-image" />
            <h3>{title}</h3>
            <p>{description}</p>
        </div>
    );
};

export default GiveawayCard;