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

export const IconWatch16 = 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="M9.2 0c1.119 0 2.068.823 2.227 1.932l.287 2.011A5.49 5.49 0 0 1 13.5 8a5.49 5.49 0 0 1-1.786 4.057l-.287 2.011A2.25 2.25 0 0 1 9.199 16H6.801a2.25 2.25 0 0 1-2.228-1.932l-.287-2.011A5.49 5.49 0 0 1 2.5 8c0-1.606.688-3.051 1.786-4.057l.287-2.011A2.25 2.25 0 0 1 6.801 0zm.849 13.106A5.5 5.5 0 0 1 8 13.5c-.724 0-1.416-.14-2.049-.395l.108.751a.75.75 0 0 0 .742.644h2.398a.75.75 0 0 0 .742-.644zM8 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8m.25 1.5a.75.75 0 0 1 .75.75v1.709l.987.33a.75.75 0 0 1-.474 1.423l-1.5-.5A.75.75 0 0 1 7.5 8.5V6.25a.75.75 0 0 1 .75-.75m-1.45-4a.75.75 0 0 0-.741.644l-.108.75A5.5 5.5 0 0 1 8 2.5c.724 0 1.416.14 2.049.395l-.108-.751A.75.75 0 0 0 9.2 1.5z"
                />
            </svg>
        );
    }
);
