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

export const IconAnsibleCommunityColor24 = 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="#000"
                    d="M20.46 19.969 13.379 3.056c-.207-.481-.62-.756-1.1-.756-.482 0-.894.275-1.1.756L3.409 21.55h2.682l3.094-7.631 9.144 7.356c.343.275.618.413.962.413.688 0 1.306-.482 1.306-1.238 0-.137-.068-.275-.137-.481M12.279 6.08l4.606 11.275-6.944-5.431z"
                />
            </svg>
        );
    }
);
