// 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 SvgCarpet = ({
  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="M14 2.66667H2M14 2.66667V13.3333M14 2.66667V0M2 2.66667V13.3333M2 2.66667V0M2 13.3333H14M2 13.3333V16M14 13.3333V16M5 0V2.66667M5 13.3333V16M8 0V2.66667M8 13.3333V16M11 0V2.66667M11 13.3333V16M6.33333 8C6.33333 8.44203 6.50893 8.86595 6.82149 9.17851C7.13405 9.49107 7.55797 9.66667 8 9.66667C8.44203 9.66667 8.86595 9.49107 9.17851 9.17851C9.49107 8.86595 9.66667 8.44203 9.66667 8C9.66667 7.55797 9.49107 7.13405 9.17851 6.82149C8.86595 6.50893 8.44203 6.33333 8 6.33333C7.55797 6.33333 7.13405 6.50893 6.82149 6.82149C6.50893 7.13405 6.33333 7.55797 6.33333 8Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
