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

export const IconLinodeColor24 = 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="#231f20"
                    d="m20 10.853-2.657-1.531-2.242 1.426-.028 1.459-1.092-.749-1.482.942-.065-1.594-1.527-1.065 1.458-.787c-.01 0 0 .154-.215-5.222L8.699 2 4 3.522l1.049 5.266 1.577 1.278-1.2.588.785 3.97 1.1 1.077-.787.5.612 3.069L9.608 22c.012-.015.26-.215 3.175-2.635l-.085-2.085 1.252 1.108c.018-.019.269-.212 2.563-2.113l.088-1.542.945.684c.017-.018.232-.19 2.084-1.723z"
                />
                <path
                    fill="#000"
                    d="M17.795 12.494 20 10.854l-2.657-1.532-2.242 1.426z"
                />
                <path
                    fill="#004b16"
                    d="m17.551 15.415.244-2.92-2.694-1.747-.056 2.852zM13.955 18.385V15.36l-2.723-2.152.214 2.97z"
                />
                <path
                    fill="#000"
                    d="m13.955 15.36 2.734-2.043-2.708-1.859-2.75 1.75z"
                />
                <path
                    fill="#004b16"
                    d="m9.608 21.997-.435-3.091L6.524 16.2l.612 3.068z"
                />
                <path
                    fill="#000"
                    d="m9.173 18.906 3.489-2.595-2.704-2.294L6.524 16.2z"
                />
                <path
                    fill="#004b16"
                    d="m8.947 17.3-.575-4.088-2.951-2.556.79 3.964z"
                />
                <path
                    fill="#000"
                    d="m8.372 13.212 4.064-2.406L9.4 8.686l-3.98 1.97z"
                />
                <path
                    fill="#004b16"
                    d="m8.096 11.26-.788-5.6L4 3.523l1.049 5.266z"
                />
                <path fill="#000" d="m7.308 5.66 4.836-1.93L8.699 2 4 3.522z" />
                <path
                    fill="#1cb35c"
                    d="M19.633 13.69c-2.046 1.694-2.091 1.725-2.084 1.725.254-3.058.233-2.92.245-2.92 2.334-1.742 2.188-1.642 2.204-1.642zM16.518 16.27c-2.533 2.1-2.573 2.114-2.563 2.114-.025-3.167-.01-3.025 0-3.025 2.918-2.172 2.724-2.044 2.734-2.044zM12.788 19.362c-3.161 2.62-3.19 2.635-3.175 2.635-.449-3.185-.438-3.091-.438-3.091 3.717-2.762 3.482-2.595 3.492-2.595zM12.144 3.73c.222 5.377.204 5.222.216 5.222-4.182 2.264-4.274 2.308-4.266 2.308-.806-5.724-.794-5.6-.788-5.6zM12.434 10.806c.167 4.077.146 3.936.161 3.936-3.617 2.535-3.659 2.563-3.645 2.563-.584-4.2-.584-4.093-.575-4.093z"
                />
            </svg>
        );
    }
);
