// 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 SvgHighlighter = ({
  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 14.6666H15.3334M5.33341 10.9997L4.3333 11.9997L1.33345 11.9998L1.33341 11L3.33377 8.99963M5.33341 10.9997L9.00041 11.0002L13.3333 4.66666L9.66688 1.00012L3.33377 5.33347V8.99963M5.33341 10.9997L3.33377 8.99963M3.66723 4.99996L9.33388 10.6666"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
