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

export const IconPath16 = 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}
                    d="M13 0a3 3 0 1 1-.229 5.991c-.298.753-.589 1.309-.964 1.857-.254.369-.546.733-.894 1.148A1.5 1.5 0 0 1 9.5 11a1.5 1.5 0 0 1-1.485-1.708 11 11 0 0 0-1.537-.974 11 11 0 0 0-1.92-.755 1.5 1.5 0 0 1-.978.435c-.786 1.702-1.088 3.183-1.25 5.253a1.5 1.5 0 1 1-1.497-.095c.173-2.23.508-3.903 1.41-5.839A1.5 1.5 0 1 1 4.95 6.113c.848.255 1.554.532 2.214.872.617.318 1.18.685 1.773 1.124a1.5 1.5 0 0 1 .833-.085c.327-.39.579-.705.798-1.025.29-.421.524-.856.78-1.493A3 3 0 0 1 13 0m0 1.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3"
                />
            </svg>
        );
    }
);
