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

export const IconSkipForward16 = 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="M2 3.93C2 2.51 3.6 1.682 4.759 2.5l5.766 4.07a1.75 1.75 0 0 1 0 2.86L4.76 13.5C3.599 14.317 2 13.489 2 12.07zm11.25-1.68A.75.75 0 0 1 14 3v10a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75M3.895 3.726a.25.25 0 0 0-.395.204v8.14c0 .202.23.32.395.204l5.765-4.07a.25.25 0 0 0 0-.408z"
                    clipRule="evenodd"
                />
            </svg>
        );
    }
);
