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

export const IconVolumeUp16 = 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="M12.185 2.258a.75.75 0 0 1 1.057-.074C14.992 3.706 16 5.796 16 8s-1.008 4.293-2.758 5.815a.75.75 0 1 1-.984-1.131C13.708 11.42 14.5 9.734 14.5 8s-.791-3.422-2.242-4.685a.75.75 0 0 1-.073-1.057m-5.152.428A1.25 1.25 0 0 1 9 3.71v8.58a1.25 1.25 0 0 1-1.967 1.024L3.728 11H1.25C.56 11 0 10.44 0 9.75v-3.5C0 5.56.56 5 1.25 5h2.478zm-2.51 3.587a1.25 1.25 0 0 1-.716.227H1.5v3h2.307c.256 0 .506.079.716.226L7.5 11.809V4.19zm6.178-1.035a.75.75 0 0 1 1.06-.037A3.83 3.83 0 0 1 13 8c0 1.06-.453 2.065-1.238 2.798A.75.75 0 0 1 10.738 9.7c.495-.46.762-1.074.762-1.701a2.33 2.33 0 0 0-.762-1.702.75.75 0 0 1-.037-1.06"
                />
            </svg>
        );
    }
);
