// 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 SvgDictionaryLanguageBook = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2.08325 13.3333V3.33331C2.08325 2.22875 2.97869 1.33331 4.08325 1.33331H14.0833V11.6624H3.58537C2.75577 11.6624 2.08325 12.3349 2.08325 13.1645C2.08325 13.9941 2.75577 14.6666 3.58537 14.6666H14.5833M12.7499 11.6624V14.6666M4.08325 7.88351L5.41015 3.82908H6.07361L7.40052 7.88351M4.52547 6.57011H6.95812M8.58552 6.01951H11.5856V6.43129L9.25219 8.90198V9.31371H12.2828"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
