import React from 'react';

interface CloseIconProps {
  className?: string;
  stroke?: string;
  strokeWidth?: number;
  size?: number;
}

const CloseIcon: React.FC<CloseIconProps> = ({
  className = '',
  stroke = '#8C90A3',
  strokeWidth = 1.5,
  size = 20,
}) => {
  return (
    <svg
      width={size}
      height={size}
      viewBox="0 0 20 20"
      fill="none"
      className={className}
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M5 15L15 5"
        stroke={stroke}
        strokeWidth={strokeWidth}
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        d="M15 15L5 5"
        stroke={stroke}
        strokeWidth={strokeWidth}
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </svg>
  );
};

export default CloseIcon;
