// 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 SvgToaster = ({
  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="M13.3335 8.66665H15.3335M10.3335 6.66665V4.66665C11.254 4.66665 12.0002 3.92045 12.0002 2.99998C12.0002 2.07951 11.254 1.33331 10.3335 1.33331H4.3335C3.41302 1.33331 2.66683 2.07951 2.66683 2.99998C2.66683 3.92045 3.41302 4.66665 4.3335 4.66665V6.66665M10.0002 12H11.3335M1.3335 6.66665H13.3335V14.6666H1.3335V6.66665Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
