// 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 SvgAtom = ({
  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="M10.3406 10.3402C6.89411 13.7868 3.05236 15.533 1.75991 14.2405C0.467452 12.9481 2.21369 9.1064 5.66024 5.65983C9.10678 2.21328 12.9485 0.467045 14.241 1.7595C15.5334 3.05196 13.7872 6.89367 10.3406 10.3402Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M5.65975 10.3402C9.10628 13.7868 12.948 15.533 14.2405 14.2405C15.5329 12.9481 13.7867 9.1064 10.3401 5.65983C6.89362 2.21328 3.05188 0.467045 1.75942 1.7595C0.466964 3.05196 2.2132 6.89367 5.65975 10.3402Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M7.66542 7.66534H8.33475V8.33467H7.66542V7.66534Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
