// 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 SvgScreenCurve = ({
  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="M8.00016 11.6667C4.00016 11.6667 1.3335 12.3333 1.3335 12.3333V3C1.3335 3 4.00016 3.66667 8.00016 3.66667C12.0002 3.66667 14.6668 3 14.6668 3V12.3333C14.6668 12.3333 12.0002 11.6667 8.00016 11.6667ZM8.00016 11.6667L8.00016 14.3333M4.66683 14.3333H11.3335"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
