// 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 SvgBrowserRefresh = ({
  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="M16.3332 4.66667H1.6665M11.5148 8.4C11.1487 7.35133 10.1609 6.60001 8.99984 6.60001C8.26344 6.60001 7.59679 6.9022 7.11422 7.3908C6.63165 7.8794 6.33317 8.5544 6.33317 9.3C6.33317 10.7912 7.52708 12 8.99984 12C9.73624 12 10.4029 11.6978 10.8854 11.2092C11.1638 10.9274 11.3809 10.5836 11.5148 10.2M9.59244 8.4H11.6665V6M16.3332 2H1.6665V14H16.3332V2Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
