// 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 SvgSearchCommentHistory = ({
  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="M12.6664 11.0001L10.7634 9.09706M15.6664 1.33333H2.99977V10.7179L1.93311 15.0667L6.28182 14H15.6664V1.33333ZM11.4664 7.4C11.4664 8.72546 10.3919 9.8 9.06643 9.8C7.74096 9.8 6.66643 8.72546 6.66643 7.4C6.66643 6.07451 7.74096 5 9.06643 5C10.3919 5 11.4664 6.07451 11.4664 7.4Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
