// 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 SvgTranslateText = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M7.33325 15.6666L10.6666 6.33325H11.9999L15.3333 15.6666M8.52372 12.3333H14.1428M0.999919 9.66645C2.40159 9.66645 4.29443 8.43858 5.77483 7.27358C7.34025 6.04168 8.11105 4.10293 8.11105 2.11092M0.333252 2.11092H9.66658M4.99992 0.333252V2.11103M1.88881 2.11092C1.88881 4.10293 2.65959 6.04168 4.22501 7.27359C5.17125 8.01819 6.28599 8.78852 7.33325 9.24752"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
