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

export const IconArrowShareOutline = 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-shein-icon customeow-shein-icon-icon-arrow-share-outline`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M13.3586 4.97482L10 1.61621L6.64139 4.97482L7.52527 5.8587L9.375 4.00898V12.0834H10.625V4.00898L12.4747 5.8587L13.3586 4.97482Z"
          fill={color}
        />
        <path
          d="M6 6.37509H3.375V17.6251H16.625V6.37509H14V7.62509H15.375V16.3751H4.625V7.62509H6V6.37509Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconArrowShareOutline.displayName = "IconArrowShareOutline";

export default IconArrowShareOutline;
