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

export const IconHandshake16 = 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="M11 2.75c.199 0 .39.079.53.22l.78.78h2.94a.75.75 0 0 1 0 1.5H14v5c0 .414.336.75.75.75h.5a.75.75 0 0 1 0 1.5h-.5c-.883 0-1.648-.51-2.017-1.25h-1.506L9.141 12.64a2.25 2.25 0 0 1-2.255.141L3.823 11.25h-.556A2.25 2.25 0 0 1 1.25 12.5h-.5a.75.75 0 0 1 0-1.5h.5a.75.75 0 0 0 .75-.75v-5H.75a.75.75 0 0 1 0-1.5h2.94l.78-.78A.75.75 0 0 1 5 2.75zM4.53 5.03a.75.75 0 0 1-.53.22h-.5v4.5H4a.75.75 0 0 1 .335.079l3.222 1.611c.24.12.528.103.752-.047l1.651-1.101-.584-.876a.75.75 0 0 1 1.248-.832l.777 1.166H12.5v-4.5H12a.75.75 0 0 1-.53-.22l-.78-.78H8.81L7.064 5.997a.712.712 0 0 0 .972 1.038l.97-.85a.75.75 0 0 1 .99 1.13l-.973.849a2.211 2.211 0 0 1-3.02-3.228l.687-.686H5.311zM.625 9a.625.625 0 1 1 0 1.25.625.625 0 0 1 0-1.25m14.75 0a.625.625 0 1 1 0 1.25.625.625 0 0 1 0-1.25"
                />
            </svg>
        );
    }
);
