// 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 SvgVoiceMail = ({
  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="M2 7.33331C2 10.647 4.68629 13.3333 7.99997 13.3333M7.99997 13.3333C11.3137 13.3333 14 10.647 14 7.33331M7.99997 13.3333L7.99991 15.3333M4.66675 1.33331H11.3334V7.33331C11.3334 9.17425 9.84104 10.6666 8.00011 10.6666C6.15913 10.6666 4.66675 9.17425 4.66675 7.33331V1.33331Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
