// 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 SvgCloudRefresh = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13.6665 11.9334C15.188 11.6245 16.3332 10.2794 16.3332 8.66671C16.3332 6.82577 14.8408 5.33337 12.9998 5.33337C12.9998 3.12423 11.209 1.33337 8.99984 1.33337C7.24897 1.33337 5.76084 2.4583 5.21878 4.02482C3.22038 4.24739 1.6665 5.94225 1.6665 8.00004C1.6665 9.74164 2.77958 11.2233 4.33317 11.7724M11.8291 10.6667C11.4173 9.50151 10.306 8.66671 8.99984 8.66671C8.17144 8.66671 7.42141 9.00251 6.87852 9.54537C6.33562 10.0883 5.99984 10.8383 5.99984 11.6667C5.99984 13.3236 7.34298 14.6667 8.99984 14.6667C9.82824 14.6667 10.5782 14.3309 11.1212 13.788C11.4342 13.4749 11.6785 13.0929 11.8292 12.6667M9.6665 10.6667H11.9998V8.00004"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
