// 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 SvgLeafProtect = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M7.33333 13.9385C6.03784 13.7573 4.7974 13.1749 3.81124 12.1887M3.81124 12.1887C1.34848 9.726 1.40418 5.67739 3.93565 3.14592L14.6667 1.33333L13.7604 6.69886M3.81124 12.1887L1 15.0001M9.33333 8.66666V13.6667L12.3333 15.2467L15.3333 13.6667V8.66666H9.33333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
