// 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 SvgBuyingAndSelling = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M9 0.666687V5.33335M11.3333 3.00002H6.66667M15.3333 7.33335H10.6667M1.10938 15.3034H8.1094L14.4427 13.3034V13.042C14.4427 12.0818 13.6643 11.3034 12.7041 11.3034C12.5308 11.3034 12.3585 11.3293 12.1929 11.3803L8.22433 12.6014C8.14813 12.6248 8.0688 12.6368 7.98907 12.6368H4.77604M8.1094 12.6368V10.6368L3.91558 9.99155C2.70296 9.80495 1.60938 10.7432 1.60938 11.9701"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
