// 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 SvgAnnoncementMegaphone = ({
  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.99999 2.33331V0.333313M0.927887 7.33418H2.92789M2.9979 2.33329L4.41211 3.7475M15.0721 7.33431H13.0721M13.0021 2.33333L11.5879 3.74754M3.56345 12.7448L4.02399 13.6111C4.37115 14.2642 5.05037 14.6723 5.78997 14.6723H6.72559M2.34136 10.671L8.28852 4.92067L11.4987 10.4809L3.54519 12.7561L2.34136 10.671Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
