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

export const IconCloseOutline = 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-close-outline`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M9.11616 10L4.55811 14.5581L5.44199 15.442L10 10.8839L14.5581 15.442L15.442 14.5581L10.8839 10L15.442 5.44199L14.5581 4.55811L10 9.11616L5.44199 4.55811L4.55811 5.44199L9.11616 10Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconCloseOutline.displayName = "IconCloseOutline";

export default IconCloseOutline;
