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

export const IconConsulFill16 = 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={16}
                height={16}
                fill="none"
                viewBox="0 0 16 16"
                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 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm6.004 12.375a4.374 4.374 0 1 1 2.96-7.594L9.924 5.868a2.875 2.875 0 1 0 0 4.267l1.038 1.086a4.36 4.36 0 0 1-2.96 1.154m3.52-2.188a.359.359 0 1 1 0-.718.359.359 0 0 1 0 .718M7.976 8.948a.948.948 0 1 1-.008-1.896.948.948 0 0 1 .008 1.896m3.96.017a.359.359 0 1 1 0-.718.359.359 0 0 1 0 .718m-1.067-.045a.358.358 0 1 1 0-.717.358.358 0 0 1 0 .717m1.066-1.164a.359.359 0 1 1 0-.717.359.359 0 0 1 0 .717m-1.066.041a.359.359 0 1 1 0-.717.359.359 0 0 1 0 .717m.676-1.247a.359.359 0 1 1-.002-.717.359.359 0 0 1 .002.717"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
