// 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 SvgNoPetsAllowed = ({
  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="M1.47119 1.47134L16.5285 16.5287M12.3332 15.0001H10.3332L9.6665 11.6667H6.33317L5.6665 15.0001L2.99984 15V6.99999M2.99984 6.99999H4.33317M2.99984 6.99999C2.26346 6.99999 1.6665 6.40304 1.6665 5.66666V4.33332M6.99984 6.99999H8.6665L13.3332 2.33332H13.6665V4.66666L16.3332 5.66666V6.99999C16.3332 7.73639 15.7362 8.33332 14.9998 8.33332H12.9998V13"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
