// 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 SvgHardDisk = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M8.33333 10.9835C10.0178 10.8163 11.3333 9.39512 11.3333 7.66666C11.3333 5.82571 9.84093 4.33332 8 4.33332C6.15905 4.33332 4.66667 5.82571 4.66667 7.66666C4.66667 8.14072 4.76563 8.59166 4.94403 8.99999M7.33333 7.66666H8.66667M10 13.6667H12M5.33333 11.6667L6.82113 9.68292M2 1.66666H14V16.3333H2V1.66666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
