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

export const IconMessageCircleFill16 = 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}
                <g fill={color}>
                    <path d="M8.25 8c.413.002.75.337.75.75a.753.753 0 0 1-.75.75h-2.5a.75.75 0 0 1 0-1.5zM10.25 5.5c.413.002.75.337.75.75a.753.753 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5z" />
                    <path
                        fillRule="evenodd"
                        d="M8.231 1A6.77 6.77 0 0 1 15 7.769a6.77 6.77 0 0 1-9.795 6.055 2 2 0 0 0-.113.016c-.171.029-.405.09-.678.176a22 22 0 0 0-1.65.615 32 32 0 0 0-.658.281l-.037.017-.01.004h-.002a.75.75 0 0 1-.99-.994l.001-.002.004-.008.017-.037a23 23 0 0 0 .28-.65c.198-.475.446-1.102.618-1.646.087-.274.146-.507.175-.679q.012-.076.016-.118A6.769 6.769 0 0 1 8.232 1m0 1.5a5.27 5.27 0 0 0-4.676 7.7c.104.199.123.404.124.534.003.145-.014.292-.037.428-.045.273-.13.582-.225.885-.085.27-.186.553-.288.827.275-.103.563-.204.834-.289.3-.095.61-.18.879-.225.134-.022.282-.04.423-.038.128.002.335.018.535.122a5.271 5.271 0 0 0 7.7-4.676A5.27 5.27 0 0 0 8.23 2.5"
                        clipRule="evenodd"
                    />
                </g>
            </svg>
        );
    }
);
