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

export const IconVideoOff16 = 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.06 0l12.5 12.5a.75.75 0 0 1-1.06 1.06l-2.98-2.98A2.25 2.25 0 0 1 8.75 13h-6.5A2.25 2.25 0 0 1 0 10.75v-5.5a2.25 2.25 0 0 1 1.958-2.232L1.22 2.28a.75.75 0 0 1 0-1.06M8.75 3A2.25 2.25 0 0 1 11 5.25v.733q0 .018.013.032c.015.015.039.016.056.004l2.95-2.04c.824-.597 1.98-.01 1.981 1.012v6.018a.75.75 0 0 1-1.5 0v-5.54l-2.576 1.784A1.545 1.545 0 0 1 9.5 5.983V5.25a.75.75 0 0 0-.75-.75H7.688a.75.75 0 0 1 0-1.5zm-6.5 1.5a.75.75 0 0 0-.75.75v5.5c0 .414.336.75.75.75h6.5a.75.75 0 0 0 .75-.75v-.19L3.44 4.5z"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
