// 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 SvgFactoryEco = ({
  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="M4.66668 14.6667V12M4.75278 3.854L1 6.02067M1.33335 10.6667V14.6667H14.6667V6.99999L8.33335 9.66666V7.66666L1.33335 10.6667ZM4.45213 1.33333L3.58611 1.83333C2.47009 2.47766 2.08771 3.9047 2.73205 5.02072C3.37637 6.13673 4.80342 6.51911 5.91944 5.87478L6.78548 5.37478L8.50555 1.68739L4.45213 1.33333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
