// 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 SvgOpenBook = ({
  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="M9.00008 4.66667C9.00008 3.19391 7.80615 2 6.33342 2H1.66675V12.6667H7.00008C8.10468 12.6667 9.00008 13.5621 9.00008 14.6667M9.00008 4.66667V14.6667M9.00008 4.66667C9.00008 3.19391 10.194 2 11.6667 2H16.3334V12.6667H11.0001C9.89548 12.6667 9.00008 13.5621 9.00008 14.6667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
