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

export const IconXlsxBicolorSolid = 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-xlsx-bicolor-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          opacity=".4"
          d="M12.8582 1.64062H6.12012C5.29169 1.64062 4.62012 2.3122 4.62012 3.14063V8H15V15H4.62012V16.8999C4.62012 17.7283 5.29169 18.3999 6.12012 18.3999H16.7593C17.5877 18.3999 18.2593 17.7283 18.2593 16.8999V6.99972C18.2593 6.59908 18.099 6.21509 17.8142 5.93333L13.9131 2.07424C13.6323 1.79644 13.2532 1.64062 12.8582 1.64062Z"
          fill={color}
        />
        <path
          d="M2.36035 8.14258C2.36035 7.59029 2.80807 7.14258 3.36035 7.14258H14.7317C15.284 7.14258 15.7317 7.59029 15.7317 8.14258V14.1823C15.7317 14.7346 15.284 15.1823 14.7317 15.1823H3.36035C2.80807 15.1823 2.36035 14.7346 2.36035 14.1823V8.14258ZM11.1458 10.2702C10.9481 10.2702 10.801 10.1009 10.6765 9.94743C10.6577 9.92429 10.6368 9.90286 10.6137 9.88314C10.5062 9.79118 10.3603 9.74521 10.176 9.74521C10.0507 9.74521 9.94495 9.7658 9.85869 9.80697C9.77244 9.84677 9.70627 9.90235 9.66018 9.97371C9.61528 10.0451 9.59283 10.126 9.59283 10.2166C9.59047 10.2921 9.60406 10.358 9.6336 10.4143C9.66432 10.4705 9.70627 10.5192 9.75944 10.5604C9.81261 10.6002 9.87405 10.6352 9.94377 10.6654C10.0135 10.6942 10.0879 10.7189 10.1671 10.7395L10.4932 10.8301C10.6515 10.8713 10.7969 10.9262 10.9292 10.9948C11.0616 11.0634 11.1762 11.1478 11.2731 11.248C11.37 11.3482 11.445 11.4662 11.4982 11.6021C11.5525 11.7379 11.5803 11.8937 11.5815 12.0694C11.5803 12.3274 11.5236 12.5511 11.4113 12.7405C11.3002 12.9285 11.1395 13.0746 10.9292 13.1789C10.7201 13.2819 10.4678 13.3333 10.1724 13.3333C9.87937 13.3333 9.62415 13.2812 9.40673 13.1769C9.1905 13.0726 9.02153 12.9182 8.89983 12.7137C8.83398 12.6012 8.78524 12.4742 8.75361 12.3327C8.7074 12.1259 8.88413 11.95 9.09596 11.95C9.29633 11.95 9.44464 12.1188 9.5486 12.29L9.55739 12.304C9.62001 12.3974 9.70331 12.468 9.80729 12.5161C9.91245 12.5627 10.0312 12.5861 10.1635 12.5861C10.2935 12.5861 10.4064 12.5641 10.5021 12.5202C10.599 12.4763 10.674 12.4152 10.7272 12.337C10.7803 12.2587 10.8069 12.1689 10.8069 12.0673C10.8069 11.9726 10.7827 11.893 10.7343 11.8285C10.687 11.764 10.6173 11.7091 10.5251 11.6638C10.4341 11.6185 10.3225 11.5774 10.1901 11.5403L9.79489 11.425C9.48885 11.3386 9.24722 11.2034 9.06998 11.0195C8.89274 10.8356 8.80471 10.5879 8.80589 10.2763C8.80471 10.0211 8.8632 9.79805 8.98136 9.60728C9.1007 9.41652 9.26435 9.26762 9.47231 9.16057C9.68027 9.05352 9.91659 9 10.1813 9C10.4507 9 10.6858 9.05352 10.8867 9.16057C11.0887 9.26762 11.2459 9.41652 11.3581 9.60728C11.4096 9.69482 11.4497 9.78871 11.4783 9.88896C11.5366 10.0931 11.3581 10.2702 11.1458 10.2702ZM12.0448 9.05731C12.1888 9.05731 12.3206 9.13809 12.3859 9.26639L13.0114 10.4942H13.0398L13.6688 9.26545C13.7342 9.13769 13.8656 9.05731 14.0092 9.05731C14.2968 9.05731 14.4814 9.36294 14.3476 9.61755L13.5343 11.1653L14.3605 12.7032C14.4991 12.961 14.3123 13.2733 14.0197 13.2733C13.875 13.2733 13.7425 13.1926 13.676 13.0641L13.0398 11.8344H13.0114L12.3747 13.0652C12.3085 13.193 12.1767 13.2733 12.0327 13.2733C11.7414 13.2733 11.5556 12.9622 11.6938 12.7057L12.524 11.1653L11.7063 9.61918C11.5715 9.36419 11.7563 9.05731 12.0448 9.05731ZM6.61204 12.8099C6.61204 13.0658 6.81951 13.2733 7.07545 13.2733H8.34244C8.54538 13.2733 8.70989 13.1088 8.70989 12.9058C8.70989 12.7029 8.54538 12.5384 8.34244 12.5384H7.37948V9.44104C7.37948 9.22911 7.20768 9.05731 6.99576 9.05731C6.78384 9.05731 6.61204 9.22911 6.61204 9.44104V12.8099ZM3.99022 9.05731C4.13421 9.05731 4.26602 9.13809 4.33137 9.26639L4.95686 10.4942H4.98522L5.61422 9.26545C5.67962 9.13769 5.81106 9.05731 5.95459 9.05731C6.24221 9.05731 6.42686 9.36294 6.29306 9.61755L5.47972 11.1653L6.30599 12.7032C6.44449 12.961 6.25775 13.2733 5.96511 13.2733C5.82046 13.2733 5.68789 13.1926 5.62143 13.0641L4.98522 11.8344H4.95686L4.32011 13.0652C4.25398 13.193 4.12208 13.2733 3.97817 13.2733C3.6868 13.2733 3.50104 12.9622 3.63927 12.7057L4.46945 11.1653L3.65177 9.61918C3.51691 9.36419 3.70177 9.05731 3.99022 9.05731Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
      </svg>
    );
  }
);

IconXlsxBicolorSolid.displayName = "IconXlsxBicolorSolid";

export default IconXlsxBicolorSolid;
