// 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 SvgFolderBlock = ({
  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="M10.1213 11.1214C9.57832 11.6642 8.82832 12 7.99992 12C6.34307 12 4.99992 10.6569 4.99992 9.00004C4.99992 8.17164 5.33571 7.42164 5.8786 6.87871M10.1213 11.1214C10.6641 10.5784 10.9999 9.82844 10.9999 9.00004C10.9999 7.34317 9.65679 6.00004 7.99992 6.00004C7.17152 6.00004 6.42149 6.33583 5.8786 6.87871M10.1213 11.1214L5.8786 6.87871M14.6666 14.6667V3.33337H7.33325L5.33325 1.33337H1.33325V14.6667H14.6666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
