export default function DiscountedPrices({price, discounted}){
    return (
        <div className="flex flex-col items-center">
            <div className="flex items-center text-gray-500 line-through">
                <span className="text-xl pl-2">{discounted}</span>
                <span className="text-xl">تومان</span>
            </div>
            <div className="flex items-center">
                <span className="text-2xl font-bold pl-2">{price}</span>
                <span className="text-xl">تومان</span>
            </div>
        </div>
    );
}