// 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 SvgRiceField = ({
  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="M11.3334 8.66666V8.09526C11.3334 6.20168 9.84101 4.66666 8.00008 4.66666C6.15913 4.66666 4.66675 6.20168 4.66675 8.09526V8.66666M0.666748 7.99999H2.66675M0.666748 10.6667H15.3334M13.3334 7.99999H15.3334M11.7713 4.22882L13.1855 2.8146M2.81461 2.81444L4.22883 4.22866M8.00008 0.666656V2.66666M1.00008 15L5.33342 10.6667M15.0001 15L10.6667 10.6667M8.00008 10.6667V15.3333"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
