// 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 SvgEmergencyExit = ({
  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.33333 4.66667V1.33334H14.6667V14.6667H9.33333M7.30767 15.3333V11.9743L5.33333 10M7.33333 8L3.33333 12H0M2.66667 6.66674H5.33333L9.33333 9.3334H12M9.33333 6.66667C10.0697 6.66667 10.6667 6.06972 10.6667 5.33334C10.6667 4.59696 10.0697 4 9.33333 4C8.59693 4 8 4.59696 8 5.33334C8 6.06972 8.59693 6.66667 9.33333 6.66667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
