Files
web/packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/bathroom-cabinet-2.tsx
Matilda Landström 5de2a993a7 Merged in feat/SW-1711-switch-icons (pull request #1558)
Switches out all the old icons to new ones, and moves them to the design system. The new icons are of three different types: Materialise Symbol, Nucleo, and Customized. Also adds further mapping between facilities/amenities and icons.

Approved-by: Michael Zetterberg
Approved-by: Erik Tiekstra
2025-03-27 09:42:52 +00:00

68 lines
1.5 KiB
TypeScript

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