// 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 SvgBatteryChargingPlug = ({
  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.33317 13.3219V11.0641M6.83317 7.18V4.66667M9.83317 7.18V4.66667M14.3332 5.33333V2.66667H1.6665V13.3333H14.3332V10.6667H16.3332V5.33333H14.3332ZM5.60628 7.18H10.9552V8.3506C10.9552 9.82767 9.75784 11.0251 8.28077 11.0251C6.80369 11.0251 5.60628 9.82767 5.60628 8.3506V7.18Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
