// 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 SvgPiggyBank = ({
  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="M1.00006 1.99999C0.781394 2.984 1.12217 4.9363 2.91169 4.99847M4.66667 6.99999H7.66667M11 6.99999V8.33332M2 6.99999V14.6667H4.66667L5.33333 13H8.66667L9.33333 14.6667H12V12.7005C13.9353 12.1943 14.6753 11.1452 15 10.3333V7.66666H13.6667L13.2144 5.40517C13.0897 4.78194 12.5425 4.33332 11.9069 4.33332H11V1.66666C9.13333 1.66666 8.11113 3.44444 8 4.33332H4.66667C3.19391 4.33332 2 5.52723 2 6.99999Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
