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

export const IconReplicationDirect16 = 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}
                <path
                    fill={color}
                    d="M15.25 6.05a.7.7 0 0 1 .7.7v6.5a2.7 2.7 0 0 1-2.699 2.7H6.75a.7.7 0 0 1 0-1.4h6.501c.717 0 1.299-.582 1.299-1.3v-6.5a.7.7 0 0 1 .7-.7m-2.5-2.5a.7.7 0 0 1 .7.7v8c0 .658-.53 1.2-1.197 1.2H4.25a.7.7 0 0 1 0-1.4h7.8v-7.8a.7.7 0 0 1 .7-.7M8.75 0A2.25 2.25 0 0 1 11 2.25v8a.75.75 0 0 1-.75.75h-8A2.25 2.25 0 0 1 0 8.75v-6.5A2.25 2.25 0 0 1 2.25 0zm-6.5 1.5a.75.75 0 0 0-.75.75v6.5c0 .414.336.75.75.75H9.5V2.25a.75.75 0 0 0-.75-.75z"
                />
            </svg>
        );
    }
);
