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

export const IconAngleStraightSolid = 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-angle-straight-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M10 8.8897C11.6569 8.8897 13 7.54655 13 5.8897 13 4.23284 11.6569 2.8897 10 2.8897 8.34315 2.8897 7 4.23284 7 5.8897 7 7.54655 8.34315 8.8897 10 8.8897ZM10.0001 10.3897C10.8767 10.3897 11.6874 10.1077 12.3465 9.62958L17.5205 15.8612C18.0616 16.5128 17.5981 17.5 16.7512 17.5L3.04805 17.5C2.20106 17.5 1.73762 16.5128 2.27868 15.8612L7.5302 9.53627C8.21029 10.0709 9.06796 10.3897 10.0001 10.3897Z"
          fill={color}
        />
      </svg>
    );
  }
);

IconAngleStraightSolid.displayName = "IconAngleStraightSolid";

export default IconAngleStraightSolid;
