// 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 SvgTextFlowRows = ({
  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="M11.9999 15.3333L14.6666 12.6666L11.9999 9.99992M14.3333 12.6666H5.33325M5.33325 10.6666L10.6666 5.33325M5.33325 10.6666L1.33325 10.6666V14.6666H5.33325V10.6666ZM10.6666 5.33325H14.6666V1.33325H10.6666L10.6666 5.33325ZM5.33325 3.33325H10.6666M1.33325 1.33325H5.33325V5.33325H1.33325V1.33325Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
