// 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 SvgLeftButtonTwo = ({
  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="M12.5118 10.4669H8.80004V9.45773C8.80004 9.17967 8.96464 8.92813 9.21944 8.8166L11.5806 7.7836C11.8354 7.67213 12 7.42053 12 7.14247V6.36645C12 5.97985 11.6866 5.66667 11.3 5.66667H9.50004C9.11344 5.66667 8.80004 5.98007 8.80004 6.36668V6.8674M4.49516 5V10.4669H7.29517M1.33337 4.66667V13.3333H14.6667V4.66667L12 2H4.00004L1.33337 4.66667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
