// 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 SvgPetsAllowed = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2.99984 6.00001H8.6665L13.3332 1.33334H13.6665V3.66668L16.3332 4.66668V6.00001C16.3332 6.73641 15.7362 7.33334 14.9998 7.33334H12.9998V14L10.3332 14.0001L9.6665 10.6667H6.33317L5.6665 14.0001L2.99984 14V6.00001ZM2.99984 6.00001C2.26346 6.00001 1.6665 5.40306 1.6665 4.66668V3.33334"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
