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

export const IconAnsibleCommunity24 = 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={color}
                    d="M20.455 19.974 13.374 3.06c-.207-.481-.619-.756-1.1-.756s-.894.275-1.1.756L3.405 21.555h2.681l3.094-7.631 9.144 7.356c.343.275.618.412.962.412.688 0 1.306-.48 1.306-1.237 0-.137-.068-.275-.137-.481M12.274 6.086l4.606 11.275-6.944-5.431z"
                />
            </svg>
        );
    }
);
