// 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 SvgTabletCapsule = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.30143 5.30135L10.6988 10.6987M2.45083 8.15166L8.153 2.4495C9.64353 0.960558 12.0589 0.961058 13.5489 2.451C15.0388 3.94093 15.0393 6.35629 13.5503 7.84686L7.8482 13.549C6.35775 15.0395 3.94127 15.0395 2.45083 13.549C0.960399 12.0586 0.960399 9.64213 2.45083 8.15166Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
