// 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 SvgSunCloud = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M8.00008 4.66667C8.21575 4.14912 8.53181 3.67335 8.93595 3.26921C9.74861 2.45655 10.8508 2 12.0001 2C13.1493 2 14.2515 2.45655 15.0642 3.26921C15.8769 4.08186 16.3334 5.18406 16.3334 6.33333C16.3334 6.91107 16.2181 7.47687 16.0001 8M6.33342 6C3.75609 6 1.66675 8.08933 1.66675 10.6667V14H16.3334V12C16.3334 10.1591 14.841 8.66667 13.0001 8.66667C12.1771 8.66667 11.4238 8.96487 10.8423 9.4592C10.3102 7.46713 8.49315 6 6.33342 6Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
