// 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 SvgLayerStyle = ({
  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="M14.6667 4.66658V4.3282C14.6667 2.67414 13.3259 1.33325 11.6718 1.33325C10.2975 1.33325 9.09961 2.26857 8.76628 3.60182L7.13188 10.1393C6.46673 12.8 4.07605 14.6666 1.33341 14.6666H0.666748M10.0002 8.66659H4.66675M10.6667 10.3333L14.0001 14.6666M14.6667 10.3333L9.66675 14.6666"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
