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

export const IconPaintBrushRestoreSolid = 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-paint-brush-restore-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M12.7934 15.0146C12.9115 15.1322 12.911 15.3236 12.7924 15.4407L11.0369 17.1726C10.8541 17.3489 10.6109 17.449 10.3569 17.4526H5.96694C5.51708 17.4531 5.08411 17.2814 4.75695 16.9726L4.57694 16.7926L2.10694 14.5426C1.74411 14.2134 1.52666 13.7538 1.50229 13.2645C1.47792 12.7752 1.64862 12.2962 1.97695 11.9326L10.2069 2.93261C10.5619 2.56002 11.0468 2.33859 11.5609 2.31438C12.0749 2.29017 12.5785 2.46503 12.9669 2.8026L17.7969 7.15261C17.9868 7.32415 18.1409 7.53156 18.2503 7.7629C18.3597 7.99424 18.4222 8.24493 18.4343 8.50054C18.4464 8.75615 18.4078 9.01162 18.3207 9.25225C18.2336 9.49287 18.0998 9.71392 17.9269 9.90261L16.8675 11.0671C16.8368 11.1008 16.789 11.1133 16.7457 11.0989C16.6987 11.0832 16.6669 11.0392 16.6669 10.9896V10.7826C16.6671 10.435 16.5644 10.0951 16.3716 9.80574C16.1789 9.51644 15.9048 9.29068 15.5839 9.15697C15.263 9.02326 14.9097 8.98759 14.5685 9.05443C14.2274 9.12128 13.9136 9.28769 13.6669 9.53261L11.7269 11.4726C11.3996 11.8023 11.2159 12.248 11.2159 12.7126C11.2159 13.1772 11.3996 13.6229 11.7269 13.9526L12.7934 15.0146ZM5.96694 15.9726H10.3269L11.0569 15.1826L5.43694 10.4226L3.12694 12.9626C3.09397 12.9943 3.06775 13.0324 3.04984 13.0745C3.03192 13.1166 3.02268 13.1618 3.02268 13.2076C3.02268 13.2534 3.03192 13.2986 3.04984 13.3407C3.06775 13.3828 3.09397 13.4209 3.12694 13.4526L5.60694 15.7226L5.79694 15.9026C5.81894 15.9253 5.84539 15.9433 5.87464 15.9553C5.90389 15.9674 5.93531 15.9733 5.96694 15.9726Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
        <path
          d="M15.5234 10.415C15.4847 10.3223 15.4281 10.2383 15.3567 10.1676C15.2131 10.0289 15.0213 9.95138 14.8217 9.95138C14.6221 9.95138 14.4303 10.0289 14.2867 10.1676L12.3567 12.1076C12.2857 12.1774 12.2292 12.2606 12.1907 12.3525C12.1522 12.4444 12.1323 12.543 12.1323 12.6426C12.1323 12.7422 12.1522 12.8408 12.1907 12.9326C12.2292 13.0245 12.2857 13.1078 12.3567 13.1776L14.2867 15.1076C14.4325 15.2281 14.618 15.2899 14.8069 15.281C14.9958 15.2721 15.1746 15.193 15.3084 15.0592C15.4421 14.9255 15.5212 14.7467 15.5301 14.5578C15.5391 14.3688 15.4772 14.1834 15.3567 14.0376L14.7267 13.3976H15.6267C15.8023 13.382 15.9792 13.4031 16.1462 13.4595C16.3131 13.516 16.4665 13.6066 16.5966 13.7256C16.7266 13.8446 16.8305 13.9893 16.9016 14.1507C16.9726 14.312 17.0093 14.4863 17.0093 14.6626C17.0093 14.8389 16.9726 15.0132 16.9016 15.1745C16.8305 15.3358 16.7266 15.4806 16.5966 15.5996C16.4665 15.7186 16.3131 15.8092 16.1462 15.8657C15.9792 15.9221 15.8023 15.9432 15.6267 15.9276H13.7545C13.5529 15.9276 13.3596 16.0076 13.2171 16.1502C13.0745 16.2927 12.9945 16.486 12.9945 16.6876C12.9945 16.8892 13.0745 17.0824 13.2171 17.225C13.3596 17.3675 13.5529 17.4476 13.7545 17.4476H15.6267C16.0065 17.4704 16.3869 17.4152 16.7446 17.2855C17.1022 17.1559 17.4296 16.9544 17.7066 16.6936C17.9835 16.4327 18.2042 16.118 18.355 15.7687C18.5059 15.4195 18.5837 15.043 18.5837 14.6626C18.5837 14.2821 18.5059 13.9057 18.355 13.5564C18.2042 13.2072 17.9835 12.8924 17.7066 12.6316C17.4296 12.3707 17.1022 12.1693 16.7446 12.0396C16.3869 11.91 16.0065 11.8548 15.6267 11.8776H14.7267L15.3567 11.2476C15.4281 11.1769 15.4847 11.0928 15.5234 11.0001C15.562 10.9074 15.5819 10.808 15.5819 10.7076C15.5819 10.6072 15.562 10.5077 15.5234 10.415Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconPaintBrushRestoreSolid.displayName = "IconPaintBrushRestoreSolid";

export default IconPaintBrushRestoreSolid;
