// 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 SvgCutter = ({
  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="M11.3334 4.66669L9.33341 6.66669M7.66675 13L3.00008 8.33335L8.70022 2.63319C9.34455 1.98885 10.1891 1.66669 11.0335 1.66669C11.8781 1.66669 12.7225 1.98885 13.3669 2.63319C14.6555 3.92185 14.6555 6.01119 13.3669 7.29985L7.66675 13ZM1.66675 11.6667L4.00008 9.33335L6.66675 12L2.33341 16.3334H1.66675V11.6667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
