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

export const IconPhoneOff24 = 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}
                <g fill={color} fillRule="evenodd" clipRule="evenodd">
                    <path d="M6.91 2.5a1.314 1.314 0 011.31 1.122c.138 1.042.394 2.066.762 3.05v.002a1.304 1.304 0 01-.293 1.377L7.382 9.356a.75.75 0 001.06 1.062L9.75 9.11l.003-.003a2.806 2.806 0 00.633-2.962 12.437 12.437 0 01-.68-2.725l-.001-.007A2.806 2.806 0 006.898 1H3.81a2.815 2.815 0 00-2.662 1.911c-.124.37-.17.76-.136 1.15l.002.011a21.082 21.082 0 003.28 9.248.75.75 0 101.259-.817A19.582 19.582 0 012.505 3.92a1.303 1.303 0 01.776-1.308c.167-.074.347-.112.53-.112h3.098zm3.477 3.646l-.702.264.702-.263zM7.666 17.395L2.28 22.78a.75.75 0 01-1.06-1.06l20.5-20.5a.75.75 0 011.06 1.06L11.674 13.388a15.738 15.738 0 002.305 1.73l.9-.899a2.813 2.813 0 012.965-.631c.882.328 1.798.556 2.731.678l.007.001A2.812 2.812 0 0123 17.117c-.011.451-.002 2.42 0 2.96v.104a2.805 2.805 0 01-1.91 2.671c-.371.125-.764.172-1.154.137l-.013-.002a21.175 21.175 0 01-9.222-3.274c-1.144-.74-2.135-1.49-3.034-2.319zm2.945-2.945l-1.883 1.883c.814.745 1.722 1.432 2.787 2.12a19.674 19.674 0 008.56 3.042 1.316 1.316 0 001.315-.78c.073-.166.11-.346.11-.528v-.1c-.003-.528-.012-2.53 0-3.008a1.305 1.305 0 00-1.125-1.326 14.006 14.006 0 01-3.057-.76h-.001a1.316 1.316 0 00-1.384.292v.002l-1.307 1.303a.75.75 0 01-.9.122 17.237 17.237 0 01-3.115-2.262z" />
                </g>
            </svg>
        );
    }
);
