// 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 SvgCursorScreenRecorder = ({
  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="M5.33325 14.6666H1.33325V10.6666M14.6666 10.6666V14.6666H10.6666M10.6666 1.33331H14.6666V5.33331M1.33325 5.33331V1.33331H5.33325M4.33325 4.33331L5.79992 11.3L7.46659 9.63331L9.66659 11.8333L11.8333 9.66665L9.63325 7.46665L11.2999 5.79998L4.33325 4.33331Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
