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

export const IconWifiOff24 = 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="M1.22 1.22a.75.75 0 0 1 1.06 0l20.5 20.5a.75.75 0 0 1 0 1.06.75.75 0 0 1-1.06 0l-6.175-6.174a.75.75 0 0 1-.5-.136 5.255 5.255 0 0 0-6.081 0 .75.75 0 0 1-.868-1.223 6.75 6.75 0 0 1 4.92-1.17l-3.308-3.308a10.25 10.25 0 0 0-4.229 2.105.75.75 0 0 1-.96-1.152A11.8 11.8 0 0 1 8.49 9.55l-2.72-2.72a15.3 15.3 0 0 0-3.853 2.48.75.75 0 0 1-.992-1.125 16.8 16.8 0 0 1 3.718-2.482L1.22 2.28a.75.75 0 0 1 0-1.06M12.01 19c.551.002 1 .449 1 1-.001.551-.45 1-1 1H12a1 1 0 1 1 0-2zm2.267-9.045a.75.75 0 0 1 .925-.521 11.8 11.8 0 0 1 4.358 2.288c.316.265.36.738.096 1.056a.753.753 0 0 1-1.056.096 10.3 10.3 0 0 0-3.802-1.996.75.75 0 0 1-.52-.923M12 4c4.078 0 8.017 1.489 11.076 4.185.309.274.34.749.066 1.059a.75.75 0 0 1-1.058.066A15.26 15.26 0 0 0 9.858 5.652a.75.75 0 1 1-.21-1.485C10.421 4.056 11.208 4 12 4"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
