// 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 SvgApple = ({
  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="M8.00016 4.35332V1.99999L9.3335 0.666656M1.3335 7.33332C1.3335 5.12418 3.12436 3.33332 5.3335 3.33332C6.35797 3.33332 7.2925 3.71846 8.00016 4.35185C8.70783 3.71846 9.64236 3.33332 10.6668 3.33332C12.876 3.33332 14.6668 5.12418 14.6668 7.33332C14.6668 8.20272 14.4095 9.05266 13.9272 9.77606L10.6668 14.6667L8.00016 13.3333L5.3335 14.6667L2.0731 9.77606C1.59084 9.05266 1.3335 8.20272 1.3335 7.33332Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
