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

export const IconAccessibility24 = 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}
                    d="M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1m0 1.5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19m2.935 7.07a.75.75 0 0 1 .63 1.36l-.008.005-.02.01-.076.032c-.065.03-.158.07-.271.119-.228.097-.545.227-.898.357-.445.165-1.01.354-1.542.461v2.859l1.874 2.811a.75.75 0 1 1-1.248.832L12 16.352l-1.376 2.064a.75.75 0 1 1-1.248-.832l1.874-2.811v-2.859a11 11 0 0 1-1.542-.46 20 20 0 0 1-1.169-.477l-.075-.033-.02-.01-.007-.002a.75.75 0 1 1 .627-1.362l.004.001.017.007q.022.011.065.03a18.474 18.474 0 0 0 1.077.439c.688.254 1.382.453 1.773.453.39 0 1.085-.199 1.773-.453a19 19 0 0 0 1.077-.439l.065-.03.017-.007zM12 6a1.75 1.75 0 1 1 0 3.5A1.75 1.75 0 0 1 12 6"
                />
            </svg>
        );
    }
);
