// 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 SvgNoodle = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M15.3333 1.33331H1.33325V3.99997M1.33325 3.99997H15.3333M1.33325 3.99997V6.66664H5.29912M15.3333 6.66665H10.6325M3.98739 15.3333C-0.445447 10.8514 8.00119 8.30865 4.42525 3.99998M6.65406 15.3333C2.22122 10.8514 10.6679 8.30865 7.09192 3.99998M9.32072 15.3333C4.88789 10.8514 13.3345 8.30865 9.75859 3.99998"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
