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

export const IconConsulFill24 = 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}
                    fillRule="evenodd"
                    d="M2 0a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm10.006 19A7 7 0 1 1 16.74 6.85l-1.66 1.738a4.6 4.6 0 1 0 0 6.828l1.66 1.738A6.98 6.98 0 0 1 12.006 19m5.632-3.501a.573.573 0 1 1 0-1.147.573.573 0 0 1 0 1.147m-5.677-1.982a1.517 1.517 0 1 1-.013-3.034 1.517 1.517 0 0 1 .013 3.034m6.336.027a.574.574 0 1 1 0-1.148.574.574 0 0 1 0 1.148m-1.706-.072a.573.573 0 1 1 0-1.147.573.573 0 0 1 0 1.147m1.706-1.862a.573.573 0 1 1 0-1.146.573.573 0 0 1 0 1.146m-1.706.065a.574.574 0 1 1 0-1.147.574.574 0 0 1 0 1.147m1.08-1.994a.574.574 0 1 1-.002-1.148.574.574 0 0 1 .003 1.148"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
