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

export const IconLimitSolid = 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-limit-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M18.5739 16C19.2873 16 19.9142 15.4977 19.9695 14.7865C19.9897 14.527 20 14.2647 20 14C20 8.47715 15.5228 4 10 4C4.47715 4 0 8.47715 0 14C0 14.2647 0.010283 14.527 0.0304711 14.7865C0.0858044 15.4977 0.712742 16 1.42614 16H18.5739ZM11.6082 11.3108C11.2438 10.8189 10.6592 10.5 10 10.5C8.89543 10.5 8 11.3954 8 12.5C8 13.6046 8.89543 14.5 10 14.5C11.0153 14.5 11.8539 13.7434 11.9828 12.7633L16.1638 11.643C16.5639 11.5358 16.8013 11.1246 16.6941 10.7245C16.5869 10.3244 16.1756 10.0869 15.7755 10.1941L11.6082 11.3108Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
      </svg>
    );
  }
);

IconLimitSolid.displayName = "IconLimitSolid";

export default IconLimitSolid;
