// 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 SvgFolderSearch = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2.33341 7.33337V1.33337H6.33341L8.33341 3.33337H15.6667V14.6667H9.66675M7.66675 15.3334L5.66675 13.3334M1.66675 11.7334C1.66675 12.3699 1.9196 12.9803 2.36969 13.4304C2.81978 13.8805 3.43023 14.1334 4.06675 14.1334C4.70327 14.1334 5.31372 13.8805 5.7638 13.4304C6.21389 12.9803 6.46675 12.3699 6.46675 11.7334C6.46675 11.0969 6.21389 10.4864 5.7638 10.0363C5.31372 9.58623 4.70327 9.33337 4.06675 9.33337C3.43023 9.33337 2.81978 9.58623 2.36969 10.0363C1.9196 10.4864 1.66675 11.0969 1.66675 11.7334Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
