// 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 SvgNoSmokingArea = ({
  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="M12.3332 15H1.66834L1.6665 9.66667H6.99984M13.6665 13.6667V9.66667H9.6665M16.3332 9V16.06M10.3332 1V3C10.3332 5.20914 12.124 7 14.3332 7M1.47119 1.47135L16.5285 16.5287M16.3332 7.66667V4.33333H14.3332C13.5968 4.33333 12.9998 3.73638 12.9998 3V1"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
