// 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 SvgRightTrigger = ({
  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="M3.93038 8.4668V5.66667H6.43037C6.81697 5.66667 7.13037 5.98007 7.13037 6.36668V7.76673C7.13037 8.15333 6.81697 8.4668 6.43037 8.4668H3.93038ZM3.93038 8.4668V11.1335M5.93038 8.4668L7.36171 10.6835M8.37197 5.66667H12.5676M10.4699 5.66667V11.168M1.33337 4.66667V13.3333H14.6667V4.66667L12 2H4.00004L1.33337 4.66667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
