// 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 SvgSearchHistory = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M11.9999 5.99992V1.33325H1.33325V11.9999H5.99992M9.99992 3.99992H3.33325M6.66658 6.66659H3.33325M11.6666 9.99992V11.6666H13.3333M11.6666 15.3333C13.6917 15.3333 15.3333 13.6917 15.3333 11.6666C15.3333 9.64152 13.6917 7.99992 11.6666 7.99992C9.64152 7.99992 7.99992 9.64152 7.99992 11.6666C7.99992 13.6917 9.64152 15.3333 11.6666 15.3333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
