// 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 SvgCandyCane = ({
  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="M6.78461 6.45113L3.91018 3.57673M9.21555 6.45113L12.09 3.57673M13.3334 8.66666L9.33341 12.6667M13.3334 16.3333V6.99999C13.3334 4.05447 10.9456 1.66666 8.00008 1.66666C5.05456 1.66666 2.66675 4.05447 2.66675 6.99999V8.99999H6.66675V6.99999C6.66675 6.26361 7.26368 5.66666 8.00008 5.66666C8.73648 5.66666 9.33341 6.26361 9.33341 6.99999V16.3333H13.3334Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
