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

export const IconJumpLink16 = 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="M14.25 12.5a.75.75 0 0 1 0 1.5H1.75a.75.75 0 0 1 0-1.5zM8.468 2c.938 0 1.837.375 2.499 1.041A3.56 3.56 0 0 1 12 5.55v2.79l1.95-2.1a.75.75 0 0 1 1.1 1.02l-3.25 3.5a.75.75 0 0 1-1.1 0l-3.25-3.5a.75.75 0 0 1 1.1-1.02l1.95 2.1V5.55a2.06 2.06 0 0 0-.597-1.451A2.02 2.02 0 0 0 8.468 3.5H7.25a.75.75 0 0 1 0-1.5zM5.25 9a.75.75 0 0 1 0 1.5h-3.5a.75.75 0 0 1 0-1.5zm0-3.5a.75.75 0 0 1 0 1.5h-3.5a.75.75 0 0 1 0-1.5zm-2-3.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1 0-1.5z"
                />
            </svg>
        );
    }
);
