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

export const IconVolumeDown16 = 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="M7.033 2.686A1.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.587c-.21.147-.46.227-.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.751.751 0 0 1 10.738 9.7 2.33 2.33 0 0 0 11.5 8c0-.627-.268-1.242-.762-1.702a.75.75 0 0 1-.037-1.06"
                />
            </svg>
        );
    }
);
