// 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 SvgSolarEnergy = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M12.3332 8V7.4286C12.3332 5.53503 10.8408 4 8.99984 4C7.15889 4 5.6665 5.53502 5.6665 7.4286V8M1.6665 7.33333H3.6665M8.99984 10V15.3333M14.3332 7.33333H16.3332M12.7711 3.56216L14.1853 2.14795M3.81437 2.14779L5.22858 3.562M8.99984 0V2M14.8246 12.6667H3.17505M15.9842 15.3333L13.665 10H4.3347L2.01546 15.3333H15.9842Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
