// 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 SvgControllerStick = ({
  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.66683 7.66667H1.66683M10.3335 10.3333V6.66667M10.3335 6.66667C11.8062 6.66667 13.0002 5.47276 13.0002 4C13.0002 2.52724 11.8062 1.33333 10.3335 1.33333C8.86076 1.33333 7.66683 2.52724 7.66683 4C7.66683 5.47276 8.86076 6.66667 10.3335 6.66667ZM1.3335 14.6667V10.3334H14.6668V14.6667H1.3335Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
