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

export const IconGitColor24 = 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="#f03c2e"
                    fillRule="evenodd"
                    d="M2 12.03v-.1a1.3 1.3 0 0 1 .376-.861l5.988-5.987 2.268 2.268a1.533 1.533 0 0 0 .831 2.01v5.49a1.537 1.537 0 0 0-.501 2.503 1.531 1.531 0 1 0 1.762-2.457V9.455l2.068 2.067a1.534 1.534 0 1 0 .917-.864l-2.217-2.217a1.531 1.531 0 0 0-1.937-1.95l-2.3-2.3 1.813-1.813a1.287 1.287 0 0 1 1.822 0l8.733 8.731a1.29 1.29 0 0 1 0 1.822l-8.692 8.692a1.3 1.3 0 0 1-.89.377h-.042a1.3 1.3 0 0 1-.89-.377L2.376 12.89A1.3 1.3 0 0 1 2 12.03"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
