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

export const IconTextAiOutline = 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-text-ai-outline`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M1.25 5.70166C1.25 3.63059 2.92893 1.95166 5 1.95166H9C9.41421 1.95166 9.75 2.28745 9.75 2.70166C9.75 3.11587 9.41421 3.45166 9 3.45166H5C3.75736 3.45166 2.75 4.45902 2.75 5.70166V15.7017C2.75 16.9443 3.75736 17.9517 5 17.9517H15C16.2426 17.9517 17.25 16.9443 17.25 15.7017V9.00012C17.25 8.58591 17.5858 8.25012 18 8.25012C18.4142 8.25012 18.75 8.58591 18.75 9.00012V15.7017C18.75 17.7727 17.0711 19.4517 15 19.4517H5C2.92893 19.4517 1.25 17.7727 1.25 15.7017V5.70166Z"
          fill={color}
        />
        <path
          d="M10.6392 6.15625C10.521 5.88048 10.2499 5.70168 9.94987 5.70168 9.64985 5.70168 9.3787 5.88048 9.26052 6.15625L6.06083 13.6222C5.89767 14.0029 6.07403 14.4438 6.45475 14.607 6.83547 14.7701 7.27638 14.5938 7.43955 14.213L8.15927 12.5337H11.7405L12.4602 14.213C12.6234 14.5938 13.0643 14.7701 13.445 14.607 13.8257 14.4438 14.0021 14.0029 13.8389 13.6222L10.6392 6.15625ZM11.0976 11.0337 9.94987 8.35563 8.80212 11.0337H11.0976ZM15.9623.891778C15.8752.656317 15.6507.5 15.3996.5 15.1486.5 14.9241.656317 14.8369.891778L14.3998 2.07304C14.258 2.45625 13.9559 2.75838 13.5727 2.90018L12.3914 3.33729C12.156 3.42442 11.9996 3.64894 11.9996 3.9 11.9996 4.15106 12.156 4.37558 12.3914 4.46271L13.5727 4.89982C13.9559 5.04162 14.258 5.34375 14.3998 5.72696L14.8369 6.90822C14.9241 7.14368 15.1486 7.3 15.3996 7.3 15.6507 7.3 15.8752 7.14368 15.9623 6.90822L16.3995 5.72696C16.5413 5.34375 16.8434 5.04162 17.2266 4.89982L18.4079 4.46271C18.6433 4.37558 18.7996 4.15106 18.7996 3.9 18.7996 3.64894 18.6433 3.42442 18.4079 3.33729L17.2266 2.90018C16.8434 2.75838 16.5413 2.45625 16.3995 2.07304L15.9623.891778ZM14.2747 3.9C14.7579 3.65186 15.1515 3.25824 15.3996 2.77504 15.6478 3.25824 16.0414 3.65186 16.5246 3.9 16.0414 4.14814 15.6478 4.54176 15.3996 5.02496 15.1515 4.54176 14.7579 4.14814 14.2747 3.9Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
      </svg>
    );
  }
);

IconTextAiOutline.displayName = "IconTextAiOutline";

export default IconTextAiOutline;
