// 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 SvgAllergensNuts = ({
  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="M12.7221 3.27783C10.1295 0.685167 5.92591 0.685167 3.33325 3.27783L12.7221 12.6667C15.3147 10.074 15.3147 5.87048 12.7221 3.27783ZM12.7221 3.27783L14.9999 1M11.6666 11.6667L10.2287 13.1046C9.22852 14.1047 7.87192 14.6667 6.45745 14.6667H1.33325V9.54247C1.33325 8.128 1.89515 6.7714 2.89535 5.77124L4.33325 4.33333L11.6666 11.6667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
