import React from 'react';

interface ReferenceIconProps {
  icon: React.ComponentType<any>;
  className?: string;
}

export const ReferenceIcon: React.FC<ReferenceIconProps> = ({
  icon: IconComponent,
  className,
}) => {
  return (
    <div
      className={`h-4 w-4 ${className || ''}`}
      style={{ margin: 0, padding: 0 }}
    >
      <IconComponent
        className='h-full w-full'
        style={{ margin: 0, padding: 0 }}
      />
    </div>
  );
};
