// 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 SvgShareTime = ({
  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="M13.0001 2.99992V4.66659H14.6667M1.16675 14.6666H8.66675L15.0001 12.6666V12.4052C15.0001 11.445 14.2217 10.6666 13.2615 10.6666C13.0882 10.6666 12.9159 10.6925 12.7502 10.7435L8.78175 11.9645C8.70548 11.988 8.62621 11.9999 8.54641 11.9999H5.33341M8.66675 11.9999V9.99992L4.21863 9.04672C4.07333 9.01559 3.92515 8.99992 3.77656 8.99992C2.61134 8.99992 1.66675 9.94452 1.66675 11.1097V11.3333M16.3334 4.66658C16.3334 6.50753 14.841 7.99992 13.0001 7.99992C11.1591 7.99992 9.66675 6.50753 9.66675 4.66658C9.66675 2.82564 11.1591 1.33325 13.0001 1.33325C14.841 1.33325 16.3334 2.82564 16.3334 4.66658Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
