// 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 SvgSprout = ({
  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="M0.666504 15.3333C1.7665 14.4445 4.33317 12.6667 7.99984 12.6667M7.99984 12.6667C11.6665 12.6667 14.2332 14.4445 15.3332 15.3333M7.99984 12.6667C7.99984 11.3923 7.69537 10.1179 5.92204 8.55241M7.99984 12.6667C7.99984 11.3591 7.9999 8.76894 9.88644 6.78308M9.52444 6.47539C10.691 7.64194 12.6088 7.61554 13.8079 6.41646L14.6665 1.33334L9.58337 2.19194C8.3843 3.39106 8.3579 5.30882 9.52444 6.47539ZM5.90386 8.57081C4.8669 9.60774 3.1622 9.58428 2.0963 8.51841L1.33309 4.00001L5.85148 4.76322C6.91737 5.82912 6.94084 7.53381 5.90386 8.57081Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
