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

export const IconTest16 = 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}
                <g fill={color}>
                    <path d="M1.5 8a6.5 6.5 0 0 1 6.744-6.496.75.75 0 1 0 .055-1.499 8 8 0 1 0 7.036 11.193.75.75 0 0 0-1.375-.6 7 7 0 0 1-.22.453A6.5 6.5 0 0 1 1.5 8M11.74.926a.75.75 0 1 0-.703 1.326q.216.114.421.243a.75.75 0 0 0 .8-1.27 8 8 0 0 0-.519-.299M14.774 3.743a.75.75 0 0 0-1.27.799q.13.206.244.42a.75.75 0 0 0 1.326-.701 8 8 0 0 0-.3-.518M15.995 7.7a.75.75 0 0 0-1.5.056 7 7 0 0 1 .002.45.75.75 0 1 0 1.5.047 8 8 0 0 0-.002-.552" />
                    <path d="M11.78 5.22a.75.75 0 0 1 0 1.06l-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 0 1 1.06-1.06l1.47 1.47 3.97-3.97a.75.75 0 0 1 1.06 0" />
                </g>
            </svg>
        );
    }
);
