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

export const IconNetworkAlt16 = 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="M3.72 3.971a.75.75 0 0 1 1.061 0 .754.754 0 0 1 0 1.06l-2.97 2.97 2.97 2.97a.754.754 0 0 1 0 1.06.754.754 0 0 1-1.06 0l-3.5-3.5a.75.75 0 0 1 0-1.06zm7.5 0a.75.75 0 0 1 1.06 0l3.5 3.5a.76.76 0 0 1 .22.53c0 .198-.08.39-.22.53l-3.5 3.5a.754.754 0 0 1-1.06 0 .75.75 0 0 1 0-1.06l2.97-2.97-2.97-2.97a.75.75 0 0 1 0-1.06m-6.21 3.03c.551.002 1 .45 1 1-.001.55-.45.999-1 1H5c-.55 0-.998-.449-1-1 .001-.551.45-.999 1-1zm3 0c.55.002 1 .45 1 1-.001.55-.45.999-1 1H8c-.55 0-.998-.449-1-1 0-.551.45-.999 1-1zm3 0c.55.002 1 .45 1 1-.001.55-.45.999-1 1H11c-.55 0-.998-.449-1-1 0-.551.449-.999 1-1z"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
