// 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 SvgPowerOffSquare = ({
  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="M4.00016 7.99998C4.00016 10.2091 5.79102 12 8.00016 12C10.2093 12 12.0002 10.2091 12.0002 7.99998C12.0002 5.79084 10.2093 3.99998 8.00016 3.99998M6.66683 3.99998H4.00016M4.00016 3.99998V6.66665M4.00016 3.99998L8.00016 7.99998M1.3335 1.33331H14.6668V14.6666H1.3335V1.33331Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
