// 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 SvgCalendarLock = ({
  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.66666M6.66659 9.99999V8.66666C6.66659 7.93026 7.26352 7.33332 7.99992 7.33332C8.73632 7.33332 9.33325 7.93026 9.33325 8.66666V9.99999M1.33325 2.66666H14.6666V14.6667H1.33325V2.66666ZM5.99992 9.99999H9.99992V12.3333H5.99992V9.99999Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
