// 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 SvgDefinitionSearchBook = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.00008 12.3401H1.66675V1.66669H7.27654C8.22155 1.66669 8.98762 2.43277 8.98762 3.37777M8.98762 3.37777V5.00002M8.98762 3.37777C8.98762 2.43277 9.75388 1.66669 10.6989 1.66669H16.3087V8.41449M16.3334 16.3334L13.3733 13.3732M14.4667 10.7334C14.4667 12.7952 12.7953 14.4667 10.7334 14.4667C8.67155 14.4667 7.00008 12.7952 7.00008 10.7334C7.00008 8.67149 8.67155 7.00002 10.7334 7.00002C12.7953 7.00002 14.4667 8.67149 14.4667 10.7334Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
