// 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 SvgSun = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M11.0572 3.99992L8.99992 1.94263L6.94263 3.99992H3.99992V6.94263L1.94263 8.99992L3.99992 11.0572V13.9999H6.94263L8.99992 16.0572L11.0572 13.9999H13.9999V11.0572L16.0572 8.99992L13.9999 6.94263V3.99992H11.0572Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M6.66659 8.99992C6.66659 9.30634 6.72694 9.60975 6.8442 9.89285C6.96146 10.1759 7.13333 10.4332 7.35 10.6498C7.56667 10.8665 7.8239 11.0384 8.10699 11.1556C8.39009 11.2729 8.6935 11.3333 8.99992 11.3333C9.30634 11.3333 9.60975 11.2729 9.89285 11.1556C10.1759 11.0384 10.4332 10.8665 10.6498 10.6498C10.8665 10.4332 11.0384 10.1759 11.1556 9.89285C11.2729 9.60975 11.3333 9.30634 11.3333 8.99992C11.3333 8.6935 11.2729 8.39009 11.1556 8.10699C11.0384 7.8239 10.8665 7.56667 10.6498 7.35C10.4332 7.13333 10.1759 6.96146 9.89285 6.8442C9.60975 6.72694 9.30634 6.66659 8.99992 6.66659C8.6935 6.66659 8.39009 6.72694 8.10699 6.8442C7.8239 6.96146 7.56667 7.13333 7.35 7.35C7.13333 7.56667 6.96146 7.8239 6.8442 8.10699C6.72694 8.39009 6.66659 8.6935 6.66659 8.99992Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
