interface TestimonialsProps { data: { heading: string; subheading: string; videoUrl: string; videoThumbnail: string; items: { name: string; role: string; country: string; rating: number; comment: string; avatar: string; }[]; }; } const Testimonials = ({ data }: TestimonialsProps) => { return (
{data.subheading}

{data.heading}

img
Real stories
{data.items.map((testimonial, index) => (
{Array.from({ length: testimonial.rating }).map((_, i) => ( ))}

{testimonial.comment}

img
{testimonial.name}
{testimonial.country}
))}
); }; export default Testimonials;