// 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 SvgCropAndRotate = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M12.8649 1.46844L11.3333 3.00002M11.3333 3.00002L12.8649 4.53159M11.3333 3.00002H14.6666V6.33335M3.13501 16.5316L4.66659 15M4.66659 15L3.13501 13.4684M4.66659 15L1.33325 15V11.6667M4.99992 3.33335V12H13.6666M4.99992 6.00002H2.33325M10.9999 10V6.00002H6.99992M10.9999 12V14.6667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
