// 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 SvgViewDocumentFiles = ({
  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="M4.33341 8.33317V1.6665H13.0001L16.3334 4.99984V16.3332H10.3334M5.00008 13.3332H6.33341M5.66677 10.3332C3.00011 10.3332 1.72681 13.3332 1.72681 13.3332C1.72681 13.3332 3.00011 16.3332 5.66677 16.3332C8.33341 16.3332 9.60681 13.3332 9.60681 13.3332C9.60681 13.3332 8.33341 10.3332 5.66677 10.3332Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
