// 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 SvgEarpodsCaseBattery = ({
  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="M1.66675 6.33334V4.33334C1.66675 2.86058 2.86065 1.66667 4.33341 1.66667H11.0001C12.4728 1.66667 13.6667 2.86058 13.6667 4.33334V6.33334H1.66675ZM1.66675 6.33334V12.3333C1.66675 13.8061 2.86065 15 4.33341 15H9.00008M6.33341 9.00001H9.00008M15.0001 9.33334H12.3334V10.6667H11.0001V16.3333H16.3334V10.6667H15.0001V9.33334Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
