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

export const IconUnableFactorySolid = 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-icon customeow-icon-icon-unable-factory-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M4.81072 4.58425L13.6706 2.51418C13.7569 2.49403 13.8386 2.49618 13.9126 2.5154C14.0655 2.53849 14.2126 2.60889 14.3304 2.72662L18.0375 6.43366C18.3657 6.76184 18.55 7.20697 18.55 7.6711V10.7909C18.0309 10.7088 17.4811 10.8677 17.081 11.2678L17.05 11.2988V7.6711C17.05 7.6048 17.0237 7.54121 16.9768 7.49433L13.5276 4.04512L11.0159 6.8809C10.8539 7.06378 10.7645 7.29963 10.7645 7.54393V16.1568C10.7645 16.7091 10.3168 17.1568 9.76449 17.1568H8.44995V8.85681C8.44995 8.4426 8.11416 8.10681 7.69995 8.10681C7.28574 8.10681 6.94995 8.4426 6.94995 8.85681V17.1568H4.75V9.85681C4.75 9.4426 4.41421 9.10681 4 9.10681C3.58579 9.10681 3.25 9.4426 3.25 9.85681V17.1568H2C1.44772 17.1568 1 16.7091 1 16.1568V8.9977C1 8.75387 1.08909 8.51844 1.25051 8.33569L4.28875 4.896C4.42617 4.74043 4.60859 4.63147 4.81072 4.58425Z"
          fill={color}
        />
        <path
          d="M18.7781 11.9749C19.0515 12.2482 19.0515 12.6915 18.7781 12.9648L17.2932 14.4497L18.7781 15.9347C19.0515 16.208 19.0515 16.6513 18.7781 16.9246C18.5047 17.198 18.0615 17.198 17.7881 16.9246L16.3032 15.4397L14.8183 16.9246C14.5449 17.198 14.1017 17.198 13.8283 16.9246C13.555 16.6513 13.555 16.208 13.8283 15.9347L15.3133 14.4497L13.8283 12.9648C13.555 12.6915 13.555 12.2482 13.8283 11.9749C14.1017 11.7015 14.5449 11.7015 14.8183 11.9749L16.3032 13.4598L17.7881 11.9749C18.0615 11.7015 18.5047 11.7015 18.7781 11.9749Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconUnableFactorySolid.displayName = "IconUnableFactorySolid";

export default IconUnableFactorySolid;
