// 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 SvgLeftButton = ({
  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="M8.80004 7.46667V5.2666H10.9C11.2866 5.2666 11.6 5.58001 11.6 5.96661V6.76667C11.6 7.15327 11.2866 7.46667 10.9 7.46667H8.80004ZM8.80004 7.46667V10.0666H11.3C11.6866 10.0666 12 9.7532 12 9.36653V8.16647C12 7.77987 11.6866 7.46647 11.3 7.46647L8.80004 7.46667ZM4.46684 4.57959V10.0665H7.26931M1.33337 10.6667V2H14.6667V10.6667L12 13.3333H4.00004L1.33337 10.6667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
