import { forwardRef, useMemo } from 'react';
import { IconProps } from './types';

export const IconAwsLambdaColor24 = forwardRef<SVGSVGElement, IconProps>(
    ({ color = 'currentColor', title, ...props }, svgRef) => {
        const titleId = useMemo(
            () =>
                title
                    ? 'title-' + Math.random().toString(36).substr(2, 9)
                    : undefined,
            [title]
        );
        return (
            <svg
                xmlns="http://www.w3.org/2000/svg"
                width={24}
                height={24}
                fill="none"
                viewBox="0 0 24 24"
                aria-hidden={!title}
                ref={svgRef}
                aria-labelledby={titleId}
                {...props}
            >
                {title ? <title id={titleId}>{title}</title> : null}
                <path
                    fill="#FA7E14"
                    d="M11.976 12.528c-.076.104-.14.19-.202.277l-2.953 4.196c-.915 1.3-1.831 2.601-2.749 3.9a.183.183 0 01-.13.074 913.41 913.41 0 01-3.885-.04c-.014 0-.029-.005-.057-.01a.653.653 0 01.036-.075l2.71-4.055 2.405-3.59c.889-1.33 1.777-2.661 2.665-3.993.131-.196.268-.389.392-.589a.236.236 0 00.027-.177c-.24-.736-.483-1.47-.727-2.205-.104-.315-.213-.627-.311-.944-.032-.101-.084-.132-.191-.132-.814.003-1.623.002-2.434.002-.154 0-.155 0-.155-.146 0-.963 0-1.926-.003-2.889 0-.107.037-.13.141-.13 1.633.002 3.267.002 4.9 0a.162.162 0 01.109.024c.032.02.054.052.064.087a26142.71 26142.71 0 005.6 13.585c.312.757.626 1.513.935 2.271.037.093.075.11.171.082.857-.256 1.715-.504 2.57-.76.108-.033.147-.01.18.092.293.886.59 1.77.886 2.654.01.03.018.061.03.104-.061.022-.119.046-.178.062-1.946.595-3.89 1.19-5.835 1.787-.093.028-.12-.003-.152-.078-.593-1.452-1.189-2.904-1.785-4.355l-1.752-4.263-.261-.641c-.014-.037-.033-.069-.06-.125z"
                />
            </svg>
        );
    }
);
