// 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 SvgTextBox2 = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.66687 6.33341H12.3335M5.66687 9.00008H12.3335M5.66687 11.6667H12.3335M1.66675 1.66675H3.00008V3.00008H1.66675V1.66675ZM1.66675 15.0001H3.00008V16.3334H1.66675V15.0001ZM2.33341 15.6667V2.33341H15.6667V15.6667H2.33341ZM15.0001 1.66675H16.3334V3.00008H15.0001V1.66675ZM15.0001 15.0001H16.3334V16.3334H15.0001V15.0001Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
