// 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 SvgCoffeeBean = ({
  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.10384 12.5212L3.78329 10.17C4.75598 8.80821 6.32644 8.00008 7.99992 8.00008C9.67339 8.00008 11.2439 7.19188 12.2166 5.83008L13.896 3.47885M12.0645 12.0645C9.14625 14.9827 4.96081 15.5287 2.71602 13.2839C0.471241 11.0391 1.01717 6.85368 3.93539 3.93548C6.85359 1.01726 11.0391 0.471333 13.2838 2.71611C15.5286 4.9609 14.9827 9.14634 12.0645 12.0645Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
