
import React from "react";
import ImageUploader from "../ImageUploader";

interface TestimonialImageUploadProps {
  image: string;
  onImageChange: (value: string) => void;
}

const TestimonialImageUpload = ({ image, onImageChange }: TestimonialImageUploadProps) => {
  return (
    <ImageUploader
      value={image}
      onChange={onImageChange}
      label="Photo de profil"
      aspectRatio={1}
      previewClassName="w-32"
      description="Photo de profil carrée (sera affichée en 48x48px)"
      required
    />
  );
};

export default TestimonialImageUpload;
