// 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 SvgSpiralShape = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M8.66658 1.66675C6.72165 1.66675 4.85641 2.43937 3.48114 3.81463C2.10587 5.1899 1.33325 7.05516 1.33325 9.00008C1.33325 10.945 2.10587 12.8103 3.48114 14.1855C4.85641 15.5608 6.72165 16.3334 8.66658 16.3334C10.2579 16.3334 11.784 15.7013 12.9093 14.5761C14.0345 13.4508 14.6666 11.9247 14.6666 10.3334C14.6666 8.74215 14.0345 7.216 12.9093 6.09078C11.784 4.96555 10.2579 4.33341 8.66658 4.33341C7.42892 4.33341 6.24192 4.82508 5.36675 5.70025C4.49159 6.57542 3.99992 7.76241 3.99992 9.00008C3.99992 10.2377 4.49159 11.4247 5.36675 12.2999C6.24192 13.1751 7.42892 13.6667 8.66658 13.6667C9.55065 13.6667 10.3985 13.3155 11.0236 12.6904C11.6487 12.0653 11.9999 11.2175 11.9999 10.3334C11.9999 9.44935 11.6487 8.60148 11.0236 7.97642C10.3985 7.35127 9.55065 7.00008 8.66658 7.00008C8.13618 7.00008 7.62745 7.2108 7.25239 7.58587C6.87732 7.96095 6.66658 8.46968 6.66658 9.00008C6.66658 9.53048 6.87732 10.0392 7.25239 10.4143C7.62745 10.7893 8.13618 11.0001 8.66658 11.0001"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
