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

export const IconMinio24 = 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}
                <g fill={color}>
                    <path d="m14.58 2.976 2.618 4.285a.05.05 0 0 1 0 .059.05.05 0 0 1-.053.01l-.016-.01-3.392-3.537zM13.487 13.4v1.297l-1.229.624v-1.29z" />
                    <path d="M8.797 14.511a11.7 11.7 0 0 1 2.308-3.272q.543-.544 1.153-1.013v2.496zM6.8 16.825l5.458-2.774v6.351L13.488 22v-8.598l.745-.386a3.703 3.703 0 0 0 1.018-5.857l-2.81-2.938a.623.623 0 0 1 .913-.848l.394.41.832-.81c-.996-1.292-2.219-1.129-2.92-.482a1.79 1.79 0 0 0-.078 2.53l2.84 2.959a2.536 2.536 0 0 1-.555 3.905l-.385.2V8.07a12.85 12.85 0 0 0-6.682 8.74z" />
                </g>
            </svg>
        );
    }
);
