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

function BathroomCabinet2(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)"
      >
        <rect
          height="8"
          width="17.999"
          fill="none"
          stroke={fill}
          strokeWidth={strokewidth}
          x="3.001"
          y="15"
        />
        <path
          d="M9,11a2,2,0,0,1,4,0h0v4"
          fill="none"
          stroke={fill}
          strokeWidth={strokewidth}
        />
        <line
          fill="none"
          stroke={fill}
          strokeWidth={strokewidth}
          x1="7.999"
          x2="19.999"
          y1="19"
          y2="19"
        />
        <line
          fill="none"
          stroke={fill}
          strokeWidth={strokewidth}
          x1="8"
          x2="7.999"
          y1="15"
          y2="23"
        />
        <polyline
          fill="none"
          points="5 11 1 11 1 1 23 1 23 11 17 11"
          stroke={fill}
          strokeWidth={strokewidth}
        />
      </g>
    </svg>
  )
}

export default BathroomCabinet2
