import type { NucleoIconProps } from "../../icon"
import { getNucleoIconProps } from "../utils"

function Toilet2(props: NucleoIconProps) {
  const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)

  return (
    <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
      <g
        fill={fill}
        strokeLinecap="round"
        strokeLinejoin="round"
        transform="translate(0.25 0.25)"
      >
        <path
          d="M6,8V3A2.006,2.006,0,0,1,8,1h8a2.006,2.006,0,0,1,2,2V8"
          fill="none"
          stroke={fill}
          strokeWidth={strokeWidth}
        />
        <path
          d="M21,12H3v2a6.018,6.018,0,0,0,6,6H9v3h6V20h0a6.018,6.018,0,0,0,6-6Z"
          fill="none"
          stroke={fill}
          strokeWidth={strokeWidth}
        />
        <line
          fill="none"
          stroke={fill}
          strokeWidth={strokeWidth}
          x1="3.1"
          x2="20.9"
          y1="15"
          y2="15"
        />
      </g>
    </svg>
  )
}

export default Toilet2
