import React from 'react';

interface PixelIconProps {
  src: string;
  alt?: string;
  className?: string;
  style?: React.CSSProperties;
}

export function PixelIcon({ src, alt = '', className = '', style }: PixelIconProps) {
  return (
    <img
      src={src}
      alt={alt}
      draggable={false}
      className={`shrink-0 object-contain ${className}`.trim()}
      style={{ imageRendering: 'pixelated', ...style }}
    />
  );
}
