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

export const IconImagePhotoExchangeSolid = 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-image-photo-exchange-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M1 5.25C1 4.65326 1.23705 4.08097 1.65901 3.65901C2.08097 3.23705 2.65326 3 3.25 3H16.75C17.0455 3 17.3381 3.0582 17.611 3.17127C17.884 3.28434 18.1321 3.45008 18.341 3.65901C18.5499 3.86794 18.7157 4.11598 18.8287 4.38896C18.9418 4.66194 19 4.95453 19 5.25V9.5H13.5C11.9944 9.5 10.6831 10.3318 10.0006 11.5609L6.53 8.091C6.38937 7.95055 6.19875 7.87166 6 7.87166C5.80125 7.87166 5.61063 7.95055 5.47 8.091L2.5 11.06V14.75C2.5 15.164 2.836 15.5 3.25 15.5H9.5V17H3.25C2.65326 17 2.08097 16.7629 1.65901 16.341C1.23705 15.919 1 15.3467 1 14.75V5.25ZM12 7C12 7.26522 11.8946 7.51957 11.7071 7.70711C11.5196 7.89464 11.2652 8 11 8C10.7348 8 10.4804 7.89464 10.2929 7.70711C10.1054 7.51957 10 7.26522 10 7C10 6.73478 10.1054 6.48043 10.2929 6.29289C10.4804 6.10536 10.7348 6 11 6C11.2652 6 11.5196 6.10536 11.7071 6.29289C11.8946 6.48043 12 6.73478 12 7Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
        <path
          d="M11.61 16.0673C11.3171 16.3602 11.3171 16.835 11.61 17.1279L13.3325 18.8504C13.6254 19.1433 14.1003 19.1433 14.3932 18.8504 14.6861 18.5575 14.6861 18.0827 14.3932 17.7898L13.9235 17.3201H18.6735C19.0877 17.3201 19.4235 16.9843 19.4235 16.5701 19.4235 16.1559 19.0877 15.8201 18.6735 15.8201H12.1735C11.9842 15.8201 11.8113 15.8902 11.6794 16.0059 11.6553 16.0247 11.6322 16.0452 11.61 16.0673ZM19.2039 14.0729C19.4968 13.78 19.4968 13.3052 19.2039 13.0123L17.4814 11.2898C17.1885 10.9969 16.7136 10.9969 16.4207 11.2898 16.1278 11.5827 16.1278 12.0575 16.4207 12.3504L16.8904 12.8201H12.1404C11.7262 12.8201 11.3904 13.1559 11.3904 13.5701 11.3904 13.9843 11.7262 14.3201 12.1404 14.3201H18.6404C18.8297 14.3201 19.0026 14.25 19.1346 14.1343 19.1586 14.1155 19.1818 14.0951 19.2039 14.0729Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconImagePhotoExchangeSolid.displayName = "IconImagePhotoExchangeSolid";

export default IconImagePhotoExchangeSolid;
