// 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 SvgDiscord = ({
  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="M5.40543 10.5683H12.5942M6.33317 6.33334V8.33334M11.6665 6.33334V8.33334M16.1886 11.2871L14.3914 3.73892L13.4565 3.36496C12.765 3.08833 12.054 2.87857 11.3332 2.73567L10.6665 4.00001H7.33317L6.6665 2.73567C5.94563 2.87857 5.23473 3.08833 4.54315 3.36496L3.60824 3.73892L1.81104 11.2871L6.48375 13.0843L7.20264 10.5683H10.797L11.5159 13.0843L16.1886 11.2871Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
