// 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 SvgBarCodeRefresh = ({
  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="M1.66667 1V11.6667M4.33333 1V11.6667M7.66667 1V11.6667M11 1V6.66667M13.6667 1V6.66667M16.3333 1V6.66667M1 13.6667H8.33333M15.4741 13.2176C15.3491 13.4293 15.1971 13.6262 15.0203 13.803C14.4673 14.356 13.7173 14.6667 12.9353 14.6667C12.1533 14.6667 11.4033 14.356 10.8503 13.803C10.2973 13.25 9.98667 12.5001 9.98667 11.718C9.98667 10.936 10.2973 10.186 10.8503 9.633C11.4033 9.08 12.1533 8.7694 12.9353 8.7694C13.7173 8.7694 14.4673 9.08 15.0203 9.633C15.3113 9.92407 15.5353 10.2697 15.6821 10.6458L15.8249 11.0433M13.5387 11.0441H16.3333V8.24947"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
