import { forwardRef } from "react";
import type { IconProps } from "../../types";

export const IconIncompatible = forwardRef<SVGSVGElement, IconProps>(
  ({ color = "currentColor", ...props }, forwardedRef) => {
    const { className } = props;
    props = {
      ...props,
      width: `${props.width || props.size || 20}`,
      height: `${props.height || props.size || 20}`,
      className: `${
        className ? className + " " : ""
      }customeow-shein-icon customeow-shein-icon-icon-incompatible`,
    };
    return (
      <svg
        viewBox="0 0 120 120"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M4 108H10.1508M14.1454 108H108.562M113.425 108H116"
          stroke={color}
          strokeWidth="1.5"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M74 80V95C74 96.1046 73.1046 97 72 97H40C38.8954 97 38 96.1046 38 95V43C38 41.8954 38.8954 41 40 41H72C73.1046 41 74 41.8954 74 43V46.5"
          stroke={color}
          strokeWidth="1.5"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M72 60.1716V65.8246M58.4436 70.9132C57.1826 73.1744 58.7601 76 61.2835 76H82.7165C85.2399 76 86.8174 73.1744 85.5564 70.9132L74.8399 51.6968C73.5782 49.4344 70.4218 49.4344 69.1601 51.6968L58.4436 70.9132ZM72 70.347H72.0109V70.3583H72V70.347Z"
          stroke={color}
          strokeWidth="1.5"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          stroke={color}
          d="M51.75 93.25 60.25 93.25"
          strokeWidth="1.5"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M76 20L79 23M79 20L76 23"
          stroke={color}
          strokeWidth="1.5"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <circle
          cx="94.8"
          cy="27.8"
          r="1.8"
          stroke={color}
          strokeWidth="1.2"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <circle
          cx="36.2"
          cy="17.2"
          r="1.2"
          fill={color}
          stroke={color}
          strokeLinecap="round"
          strokeLinejoin="round"
        />
        <path
          d="M20 32H24M22 34 22 30"
          stroke={color}
          strokeWidth="1.5"
          strokeLinecap="round"
          strokeLinejoin="round"
        />
      </svg>
    );
  }
);

IconIncompatible.displayName = "IconIncompatible";

export default IconIncompatible;
