// 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 SvgFileSearch = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M4.33341 8.33329V1.66663H13.0001L16.3334 4.99996V16.3333H9.66675M7.66675 16.3333L5.66675 14.3333M1.66675 12.7333C1.66675 13.3698 1.9196 13.9803 2.36969 14.4303C2.81978 14.8804 3.43023 15.1333 4.06675 15.1333C4.70327 15.1333 5.31372 14.8804 5.7638 14.4303C6.21389 13.9803 6.46675 13.3698 6.46675 12.7333C6.46675 12.0968 6.21389 11.4863 5.7638 11.0362C5.31372 10.5861 4.70327 10.3333 4.06675 10.3333C3.43023 10.3333 2.81978 10.5861 2.36969 11.0362C1.9196 11.4863 1.66675 12.0968 1.66675 12.7333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
