// 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 SvgWalker = ({
  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="M9 16.8934L10 11H13.3333L14.3333 16.8934M9.54753 13.6667H13.7859M10.6667 8.33335H7L5 5.66669H4.66667L2.23424 9.31535C2.08151 9.54442 2 9.81362 2 10.089C2 10.4589 2.14695 10.8136 2.40851 11.0752L4 12.6667V17M7.33333 4.33335C8.06973 4.33335 8.66667 3.7364 8.66667 3.00002C8.66667 2.26364 8.06973 1.66669 7.33333 1.66669C6.59695 1.66669 6 2.26364 6 3.00002C6 3.7364 6.59695 4.33335 7.33333 4.33335Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
