// 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 SvgScreenshot = ({
  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.33325H14.6666V5.33325M1.33325 5.33325V1.33325H5.33325M3.99992 10.9999V5.66659H5.66659L6.33325 4.33325H9.66658L10.3333 5.66659H11.9999V10.9999H3.99992ZM7.66525 8.33532V7.66659H8.33399V8.33532H7.66525Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
