import Image from "next/image"; import React from "react"; interface TestimonialCard { avatar: string; name: string; role?: string; testimonial: string; rating: number; } const TestimonialCard = ({ avatar, name, role, testimonial, rating }: TestimonialCard) => { return (
  • avatar1
    {name}
    {role}

    {testimonial}

    {/* star */} {"⭐".repeat(rating)}
  • ); }; export default TestimonialCard;