// 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 SvgRollingEditTool = ({
  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="M9 0.666748V15.3334M4.66667 1.66675L2 4.33341M2 4.33341L4.66667 7.00008M2 4.33341H16M13.3333 1.66675L16 4.33341M16 4.33341L13.3333 7.00008M4.66667 9.00008L2 11.6667M2 11.6667L4.66667 14.3334M2 11.6667H16M13.3333 9.00008L16 11.6667M16 11.6667L13.3333 14.3334"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
