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

export const IconChange16 = 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}
                    fillRule="evenodd"
                    d="M9.721 8.453c-.27-.087-.658-.324-1.135-.921-.595-.745-1.211-1.21-1.852-1.414a2.43 2.43 0 0 0-1.743.094c-.472.206-.842.522-1.095.778a6 6 0 0 0-.382.427l-.025.029-.024.029a.75.75 0 0 0 1.064 1.057c.05-.05.121-.135.17-.193q.016-.021.03-.036.098-.119.233-.257c.185-.188.399-.359.627-.458a.94.94 0 0 1 .69-.04c.27.086.658.323 1.135.92.595.745 1.211 1.21 1.852 1.414.656.209 1.254.118 1.743-.094.472-.206.841-.522 1.095-.778.129-.13.235-.252.313-.344l.069-.082.05-.059a.75.75 0 0 0-1.065-1.057 3 3 0 0 0-.2.229 4 4 0 0 1-.233.257 2.1 2.1 0 0 1-.627.458.94.94 0 0 1-.69.04"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
