/* GENERATED FILE */
import React, { forwardRef } from 'react'

import type {
  IconWeight,
  IconProps,
  PaintFunction,
  Icon,
  RenderFunction,
} from '../lib'
import { renderPathForWeight, useIconContext, IconBase } from '../lib'

export const IconDotsThreeOutlineVertical: Icon = forwardRef<
  SVGSVGElement,
  IconProps
>((props, ref) => {
  let path: PaintFunction

  switch (props.weight) {
    case 'fill':
      path = () => (
        <>
          <path d="M156,128a28,28,0,1,1-28-28A28.02769,28.02769,0,0,1,156,128ZM128,76a28,28,0,1,0-28-28A28.02769,28.02769,0,0,0,128,76Zm0,104a28,28,0,1,0,28,28A28.02769,28.02769,0,0,0,128,180Z" />
        </>
      )
      break

    default:
      path = () => (
        <>
          <circle
            cx="128"
            cy="128"
            r="24"
            fill="none"
            stroke="currentColor"
            strokeMiterlimit="10"
            strokeWidth="18"
          />
          <circle
            cx="128"
            cy="48"
            r="24"
            fill="none"
            stroke="currentColor"
            strokeMiterlimit="10"
            strokeWidth="18"
          />
          <circle
            cx="128"
            cy="208"
            r="24"
            fill="none"
            stroke="currentColor"
            strokeMiterlimit="10"
            strokeWidth="18"
          />
        </>
      )
      break
  }

  const renderPath: RenderFunction = (weight: IconWeight) =>
    renderPathForWeight(weight, path)

  const { useIconProps } = useIconContext()
  const parsedProps = useIconProps(props)

  return <IconBase ref={ref} {...parsedProps} renderPath={renderPath} />
})
