// 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 SvgWorkflows = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M15 12.5L12.5 10M15 12.5L12.5 15M15 12.5H5.75M6 3.5H10.25M10.25 3.5C10.25 2.25736 11.2574 1.25 12.5 1.25C13.7426 1.25 14.75 2.25736 14.75 3.5C14.75 4.74264 13.7426 5.75 12.5 5.75C11.8787 5.75 11.3162 5.49816 10.909 5.09099M10.25 3.5C10.25 4.12132 10.5018 4.68382 10.909 5.09099M5.75 10.25H1.25V14.75H5.75V10.25ZM5.75 10.25L10.909 5.09099M3.5 0.900002L6 2.275V5.025L3.5 6.4L1 5.025V2.275L3.5 0.900002Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
