// 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 SvgDatabaseSearch = ({
  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="M16.3332 16.3333L14.3239 14.3239M13.6665 3.66673C13.6665 4.7713 10.9802 5.66673 7.6665 5.66673C4.3528 5.66673 1.6665 4.7713 1.6665 3.66673M13.6665 3.66673C13.6665 2.56216 10.9802 1.66673 7.6665 1.66673C4.3528 1.66673 1.6665 2.56216 1.6665 3.66673M13.6665 3.66673V7.33339M1.6665 3.66673V10.6667C1.6665 11.7713 4.3528 12.6667 7.6665 12.6667M1.6665 7.00006C1.6665 8.1046 4.3528 9.00006 7.6665 9.00006C8.00477 9.00006 8.3365 8.99073 8.6595 8.9728M9.4765 12.3133C9.4765 13.0658 9.77544 13.7875 10.3075 14.3196C10.8396 14.8517 11.5613 15.1507 12.3138 15.1507C13.0663 15.1507 13.788 14.8517 14.3201 14.3196C14.8522 13.7875 15.1512 13.0658 15.1512 12.3133C15.1512 11.5608 14.8522 10.8391 14.3201 10.307C13.788 9.77493 13.0663 9.476 12.3138 9.476C11.5613 9.476 10.8396 9.77493 10.3075 10.307C9.77544 10.8391 9.4765 11.5608 9.4765 12.3133Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
