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

export const IconCloudUpload16 = 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="M8 7.25c.2 0 .386.081.52.21l2.76 2.76c.29.292.29.768 0 1.06a.754.754 0 0 1-1.061 0l-1.47-1.47v4.44A.754.754 0 0 1 8 15a.753.753 0 0 1-.75-.75V9.81l-1.47 1.47a.754.754 0 0 1-1.06 0 .753.753 0 0 1 0-1.06l2.75-2.75A.76.76 0 0 1 8 7.25M3.93 1.372a6.044 6.044 0 0 1 6.24 1.28 6 6 0 0 1 1.504 2.285h.28A4.035 4.035 0 0 1 16 8.968a4.04 4.04 0 0 1-1.852 3.387.753.753 0 0 1-1.036-.224.754.754 0 0 1 .224-1.037A2.536 2.536 0 0 0 14.5 8.969a2.535 2.535 0 0 0-2.545-2.532h-.83a.755.755 0 0 1-.725-.562 4.51 4.51 0 0 0-3.466-3.283 4.536 4.536 0 0 0-4.488 1.654 4.5 4.5 0 0 0-.922 2.3 4.5 4.5 0 0 0 1.308 3.642c.292.291.294.767.005 1.061a.755.755 0 0 1-1.061.005A5.995 5.995 0 0 1 .03 6.394a6 6 0 0 1 3.9-5.022"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
