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

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

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

    switch (props.weight) {
      default:
        path = () => (
          <>
            <circle cx="60" cy="92" r="12" />
            <circle cx="128" cy="92" r="12" />
            <circle cx="196" cy="92" r="12" />
            <circle cx="60" cy="164" r="12" />
            <circle cx="128" cy="164.0001" r="12" />
            <circle cx="196" cy="164" r="12" />
          </>
        )
        break
    }

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

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

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