import { colorVariants } from '../colorVariants'

import type { NucleoIconProps } from '../../icon'

function Toilet2(props: NucleoIconProps) {
  const fill = props.color ? colorVariants[props.color] : 'currentColor'
  const strokewidth = props.strokewidth || 2
  const width = props.size || '1em'
  const height = props.size || '1em'
  return (
    <svg
      height={height}
      width={width}
      viewBox="0 0 24 24"
      xmlns="http://www.w3.org/2000/svg"
    >
      <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
