// 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 SvgBrowserSearch = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M16.3332 4.66667H1.6665M10.2026 10.5361L11.9998 12.3334M16.3332 2H1.6665V14H16.3332V2ZM6.33317 8.93333C6.33317 10.1852 7.34799 11.2 8.59984 11.2C9.8517 11.2 10.8665 10.1852 10.8665 8.93333C10.8665 7.68147 9.8517 6.66667 8.59984 6.66667C7.34799 6.66667 6.33317 7.68147 6.33317 8.93333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
