// 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 SvgWorkflow = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6.66194 14H11.1793M12.3333 4.33334H8M12.3333 4.33334C12.3333 4.86378 12.544 5.37249 12.9191 5.74756C13.2942 6.12263 13.8029 6.33334 14.3333 6.33334C14.8638 6.33334 15.3725 6.12263 15.7475 5.74756C16.1226 5.37249 16.3333 4.86378 16.3333 4.33334C16.3333 3.80291 16.1226 3.2942 15.7475 2.91913C15.3725 2.54406 14.8638 2.33334 14.3333 2.33334C13.8029 2.33334 13.2942 2.54406 12.9191 2.91913C12.544 3.2942 12.3333 3.80291 12.3333 4.33334ZM8.846 11.6095L11.2365 14L8.846 16.3905M10.4189 1.94287L8.02846 4.33334L10.4189 6.72381M4.33333 6.6574V10.6667M6.72381 8.37748L4.33334 10.7679L1.94287 8.37748M12.3333 13.6667C12.3333 14.1971 12.544 14.7058 12.9191 15.0809C13.2942 15.456 13.8029 15.6667 14.3333 15.6667C14.8638 15.6667 15.3725 15.456 15.7475 15.0809C16.1226 14.7058 16.3333 14.1971 16.3333 13.6667C16.3333 13.1362 16.1226 12.6275 15.7475 12.2525C15.3725 11.8774 14.8638 11.6667 14.3333 11.6667C13.8029 11.6667 13.2942 11.8774 12.9191 12.2525C12.544 12.6275 12.3333 13.1362 12.3333 13.6667ZM2 4.33334L4.33333 2.00001L6.66666 4.33334L4.33333 6.66668L2 4.33334ZM2.67096 11.9957H6.66236V15.9871H2.67096V11.9957Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
