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

export const IconVaultSecretsColor24 = 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="#ffcf25"
                    d="M10.737 23v-4.583q0-1.596.22-3.19l.11-.99-.623.77a26 26 0 0 1-2.123 2.42L5.1 20.653l-1.757-1.76 3.221-3.226A26 26 0 0 1 8.98 13.54l.769-.623-.989.11q-1.592.22-3.184.22H1v-2.494h9.737V1h2.49v4.583q0 1.596-.22 3.19l-.11.99.622-.77a26 26 0 0 1 2.123-2.42l3.222-3.226 1.757 1.76-3.185 3.226a26 26 0 0 1-2.416 2.127l-.769.623.989-.11a23 23 0 0 1 3.184-.22H23v2.494h-9.737V23zm4.942-5.537v-1.76h1.757l3.185 3.19-1.757 1.76zM6.527 8.297l-3.184-3.19L5.1 3.347l3.185 3.19v1.76z"
                />
            </svg>
        );
    }
);
