// 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 SvgTextKerning = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M10.7213 0.666748L7.23039 11.3334M13.0001 15.3334L11.0001 13.3334M11.0001 13.3334L13.0001 11.3334M11.0001 13.3334H17.0001M11.0001 9.33341L13.1334 2.66675H14.2001L16.3334 9.33341M11.7112 7.17388H15.6223M7.00008 2.00008L4.86675 8.66675H3.80008L1.66675 2.00008"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
