// 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 SvgCalendarSearch = ({
  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.6665 12.6667L9.08425 11.0845M1.33325 2.66666H14.6666V14.6667H1.33325V2.66666ZM5.66659 9.66666C5.66659 10.1971 5.8773 10.7058 6.25237 11.0809C6.62744 11.4559 7.13615 11.6667 7.66659 11.6667C8.19702 11.6667 8.70573 11.4559 9.0808 11.0809C9.45587 10.7058 9.66659 10.1971 9.66659 9.66666C9.66659 9.13622 9.45587 8.62752 9.0808 8.25244C8.70573 7.87737 8.19702 7.66666 7.66659 7.66666C7.13615 7.66666 6.62744 7.87737 6.25237 8.25244C5.8773 8.62752 5.66659 9.13622 5.66659 9.66666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
