// 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 SvgKnife = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6 7.99998L12.6667 1.33331L16.3333 4.99998C16.3333 5.41843 16.2458 5.86607 16.1073 6.31235C15.3585 8.72571 13.3924 10.6918 10.9791 11.4406C10.5327 11.5791 10.0851 11.6666 9.66667 11.6666L6 7.99998ZM6 7.99998L2 12L4.33333 14.3333L7.33333 9.33331L6 7.99998ZM13.1333 3.99999L12.2 4.93333"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
