export function ProsthesisCatalogIcon({
  src,
  size = 'md',
}: {
  src: string;
  size?: 'sm' | 'md';
}) {
  const box = size === 'sm' ? 'h-8 w-8 sm:h-9 sm:w-9' : 'h-9 w-9 sm:h-10 sm:w-10';
  return (
    <span className={`inline-flex shrink-0 items-center justify-center ${box}`} aria-hidden>
      <img
        src={src}
        alt=""
        draggable={false}
        className="pointer-events-none max-h-full max-w-full object-contain"
      />
    </span>
  );
}
