// 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 SvgBaguette = ({
  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="M8.33317 5.66666V8.99999M11.6665 2.33332V5.66666M4.99984 8.99999V12.3333M11.5048 2.49508L2.49493 11.5049C1.9645 12.0353 1.6665 12.7547 1.6665 13.5049C1.6665 15.067 2.93284 16.3333 4.49493 16.3333H5.6665L16.3332 5.66666V4.49508C16.3332 2.93299 15.0668 1.66666 13.5048 1.66666C12.7546 1.66666 12.0352 1.96465 11.5048 2.49508Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
