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

export const IconAwsS3Color16 = 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 fillRule="evenodd" clipRule="evenodd">
                    <path
                        fill="#e25444"
                        d="m13.481 3.094-2.52 4.937 2.52 4.938 1.033-.594V3.688z"
                    />
                    <path
                        fill="#7b1d13"
                        d="m13.481 3.094-5.042.594L5.873 8.03l2.566 4.344 5.042.594z"
                    />
                    <path
                        fill="#58150d"
                        d="m3.306 3.094-.82.375v9.125l.82.375L8.44 8.03z"
                    />
                    <path
                        fill="#e25444"
                        d="m3.295 3.083 5.151 1.473v7.083l-5.15 1.333z"
                    />
                    <path
                        fill="#58150d"
                        d="m8.449 5.333-2.187-.36 2.187-2.556 2.182 2.555z"
                    />
                    <path
                        fill="#58150d"
                        d="m10.63 4.972-2.184.367-2.184-.367V2.417M8.449 10.695l-2.187.416 2.187 2.195 2.182-2.195z"
                    />
                    <path
                        fill="#7b1d13"
                        d="M8.44.5 6.251 1.688v3.28l2.194-.635zM8.446 6.139l-2.184.244V9.66l2.184.257zM8.446 11.667l-2.184-.564v3.22L8.446 15.5z"
                    />
                    <path
                        fill="#e25444"
                        d="m10.63 11.103-2.184.564V15.5l2.185-1.176zM8.446 6.139l2.185.244V9.66l-2.185.257zM8.44.5l2.186 1.188v3.28L8.44 4.345z"
                    />
                </g>
            </svg>
        );
    }
);
