// 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 SvgDesktopRefresh = ({
  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="M15.474 6.11491C15.349 6.32659 15.1969 6.52352 15.0201 6.70031C14.4672 7.25329 13.7172 7.56395 12.9351 7.56395C12.1531 7.56395 11.4031 7.25329 10.8501 6.70031C10.2972 6.14734 9.9865 5.39734 9.9865 4.61531C9.9865 3.83329 10.2972 3.08329 10.8501 2.53031C11.4031 1.97733 12.1531 1.66667 12.9351 1.66667C13.7172 1.66667 14.4672 1.97733 15.0201 2.53031C15.3112 2.82135 15.5351 3.16695 15.6819 3.54308L15.841 3.93972M13.5385 3.94141H16.3332V1.14674M7.99984 4.33334H1.6665V13.6667H14.9998V9.33334M8.33317 13.6667V16.3333M4.99984 16.3333H11.6665"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
