// 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 SvgBaht = ({
  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="M7.33333 0V16M4 7.66667V2.33333H10.3333C11.0697 2.33333 11.6667 2.93029 11.6667 3.66667V6.33333C11.6667 7.06973 11.0697 7.66667 10.3333 7.66667H4ZM4 7.66667V13.6667H11.3333C12.0697 13.6667 12.6667 13.0697 12.6667 12.3333V9C12.6667 8.2636 12.0697 7.66667 11.3333 7.66667L4 7.66667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
