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

export const IconVenafiColor24 = 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={24}
                height={24}
                fill="none"
                viewBox="0 0 24 24"
                aria-hidden={!title}
                ref={svgRef}
                aria-labelledby={titleId}
                {...props}
            >
                {title ? <title id={titleId}>{title}</title> : null}
                <path
                    fill="#FF6333"
                    fillRule="evenodd"
                    d="M15.966 3.216L16.042 3H23c-2.253 6.096-5.467 11.67-9.592 16.558L12 21.223l-1.408-1.665C6.467 14.671 3.253 9.096 1 3h6.809l.076.216c.162.465.532 1.527.752 2.02H4.545c1.533 4.15 3.72 7.944 6.527 11.274l.961 1.135.961-1.135c2.808-3.33 4.995-7.124 6.527-11.274h-4.307c.22-.493.59-1.555.752-2.02zM12 11.82a21.658 21.658 0 002.916-5.135h2.26a26.103 26.103 0 01-4.513 7.786L12 15.26l-.663-.787a26.003 26.003 0 01-4.514-7.786h2.261A21.654 21.654 0 0012 11.822z"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
