// 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 SvgWordWrapAroundBoundingBox = ({
  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="M0.666748 1.3335H15.3334M0.666748 14.6668H15.3334M0.666748 4.66683H2.66675M15.3334 4.66683H13.3334M0.666748 11.3335H2.66675M15.3334 11.3335H13.3334M0.666748 8.00016H2.66675M15.3334 8.00016H13.3334M4.66675 4.66683H11.3334V11.3335H4.66675V4.66683Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
