// 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 SvgCardFlip = ({
  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.3662 10.6667L12.7986 12.2805L4.4273 14.5237L1.49402 3.5765L9.86537 1.3334L10.5987 4.07019M6.83204 7.87447L9.46271 8.59847C11.9522 9.26554 14.2021 8.9414 14.488 7.87447C14.689 7.12434 13.8657 6.20682 12.4939 5.49623M8.24097 10.3215L6.82677 7.872L9.27624 6.45781"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
