import React from "react"; import { Icon, IconWithText, Text } from "."; import { CheckSvg, ClockSvg, CalendarSvg, PoundSvg, TableListSvg, } from "../icons"; import styles from "./CaseStudy.module.css"; export default function CaseStudy({ data }) { const { features, price, duration, date } = data; const formattedDate = new Date(date).toLocaleString("en-GB", { month: "long", year: "numeric", }); return (
} > Features:
    {features.map((feature) => (
  • {feature}
  • ))}
} > Total Cost: {price}
} > Time taken: {duration}
} > Date: {formattedDate}
); }