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

export const IconWifiOff16 = 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="M1.22 1.22a.75.75 0 0 1 1.061 0l12.5 12.5a.753.753 0 0 1 0 1.06.753.753 0 0 1-1.06 0l-3.56-3.557a.8.8 0 0 1-.274-.122 3.254 3.254 0 0 0-3.765 0 .753.753 0 0 1-1.046-.177.75.75 0 0 1 .177-1.046A4.75 4.75 0 0 1 7.94 9L6.2 7.26a6.6 6.6 0 0 0-2.385 1.265.753.753 0 0 1-1.056-.096.75.75 0 0 1 .095-1.057A8.1 8.1 0 0 1 5.02 6.08L3.513 4.574a10 10 0 0 0-2.07 1.404.753.753 0 0 1-1.058-.066.75.75 0 0 1 .066-1.059 11.4 11.4 0 0 1 1.954-1.388L1.221 2.281a.75.75 0 0 1 0-1.06M8.009 12c.551.001 1 .449 1 1-.001.551-.45 1-1 1H8a1 1 0 0 1 0-2zm1.787-5.573c.14-.39.57-.592.959-.453A8.1 8.1 0 0 1 13.2 7.372a.753.753 0 0 1 .097 1.057.753.753 0 0 1-1.057.096 6.6 6.6 0 0 0-1.992-1.139.75.75 0 0 1-.453-.959M8 2c2.779 0 5.464 1.015 7.549 2.853.309.274.34.748.066 1.059a.753.753 0 0 1-1.059.066A9.92 9.92 0 0 0 6.751 3.58a.751.751 0 0 1-.19-1.488Q7.275 2 8.001 2"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
