// 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 SvgThreatFolder = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M14.9998 7.33329V3.66663H7.6665L5.6665 1.66663H1.6665V15H7.33317M12.6665 10.3334V12.9999M12.6665 13.6667V15M8.99984 12.6666C8.99984 10.6416 10.6414 8.99996 12.6665 8.99996C14.6916 8.99996 16.3332 10.6416 16.3332 12.6666C16.3332 14.6917 14.6916 16.3333 12.6665 16.3333C10.6414 16.3333 8.99984 14.6917 8.99984 12.6666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
