// 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 SvgTagNewSquare = ({
  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="M1.33337 4V2H14.6667V4M1.33337 12.0208V14.0208H14.6667V12.0208M9.25104 6.11963H6.67031V9.9908H9.25104M6.67031 7.89387H8.92844M1.48735 10.5487V6.11967H1.80994L3.74553 9.99087H4.06813V5.56185M10.719 5.5665L11.4395 9.9746H11.7621L12.6492 7.3938H12.8105L13.6976 9.9746H14.0202L14.74 5.5665"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
