// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-nocheck
import type { VariantProps } from 'class-variance-authority'
import * as React from 'react'
import type { SVGProps } from 'react'
import { iconVariants } from '../../iconVariants'

type Color = VariantProps<typeof iconVariants>['color'] | undefined

export const SvgGlobalLearning = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M1.6665 7.51019C1.6665 4.28291 4.28273 1.66669 7.51 1.66669C10.7373 1.66669 13.3535 4.28291 13.3535 7.51019H1.6665ZM1.6665 7.51019C1.6665 9.83029 3.01863 11.8346 4.97786 12.7781M6.77954 1.66669L4.95345 7.51019L5.74621 10.047M8.05777 1.66669L10.0665 7.51019M9.2251 12.5728L9.2297 15.009L11.7379 16.1846L14.2502 15.009L14.2497 12.5728M7.14437 14.4515V11.7422M11.7384 9.60462L7.14437 11.4506V11.745L11.7384 13.591L16.3323 11.745V11.4506L11.7384 9.60462Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
