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

export const IconBellActiveFill16 = 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="M14.25 10.5c-.462 0-1.25-.386-1.25-1.72V6.742a.75.75 0 0 0-.8-.749 3 3 0 0 1-3.037-3.975.75.75 0 0 0-.63-.99A5 5 0 0 0 8 1C4.907 1 3 3.665 3 6.405V8.78c0 1.334-.788 1.72-1.25 1.72a.75.75 0 0 0 0 1.5h12.5a.75.75 0 0 0 0-1.5" />
                    <path d="M12 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4M6.898 12.872a.75.75 0 0 0-1.296.756A2.77 2.77 0 0 0 8 15c1.023 0 1.918-.55 2.398-1.372a.75.75 0 0 0-1.296-.756c-.219.374-.63.628-1.102.628s-.883-.254-1.102-.628" />
                </g>
            </svg>
        );
    }
);
