// 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 SvgCalendarRefresh = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M1.33325 5.33332H14.6666M3.99992 0.666656V2.66666M11.9999 0.666656V2.66666M10.5829 8.97826C10.455 8.65072 10.2601 8.34979 10.0066 8.09639C9.52512 7.61492 8.87205 7.34439 8.19112 7.34439C7.51019 7.34439 6.85712 7.61492 6.37563 8.09639C6.12222 8.34979 5.92725 8.65072 5.7994 8.97826M8.71658 9.32519H11.15V6.89179M5.9004 11.0217C6.02825 11.3493 6.22322 11.6502 6.47663 11.9036C6.95812 12.3851 7.61119 12.6556 8.29212 12.6556C8.97305 12.6556 9.62612 12.3851 10.1076 11.9036C10.361 11.6502 10.556 11.3493 10.6839 11.0217M7.76665 10.6748H5.33325V13.1082M1.33325 2.66666H14.6666V14.6667H1.33325V2.66666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
