// 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 SvgCalendarBlock = ({
  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.66666M9.64983 11.6499C9.43316 11.8666 9.17594 12.0384 8.89285 12.1557C8.60975 12.273 8.30634 12.3333 7.99992 12.3333C7.6935 12.3333 7.39008 12.273 7.10699 12.1557C6.8239 12.0384 6.56667 11.8666 6.35 11.6499C6.13333 11.4332 5.96146 11.176 5.8442 10.8929C5.72694 10.6098 5.66659 10.3064 5.66659 9.99999C5.66659 9.69357 5.72694 9.39015 5.8442 9.10706C5.96146 8.82397 6.13333 8.56674 6.35 8.35007M9.64983 11.6499C9.8665 11.4332 10.0384 11.176 10.1556 10.8929C10.2729 10.6098 10.3333 10.3064 10.3333 9.99999C10.3333 9.69357 10.2729 9.39015 10.1556 9.10706C10.0384 8.82397 9.8665 8.56674 9.64983 8.35007C9.43316 8.1334 9.17594 7.96153 8.89285 7.84427C8.60975 7.72701 8.30634 7.66666 7.99992 7.66666C7.6935 7.66666 7.39008 7.72701 7.10699 7.84427C6.8239 7.96153 6.56667 8.1334 6.35 8.35007M9.64983 11.6499L6.35 8.35007M1.33325 2.66666H14.6666V14.6667H1.33325V2.66666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
