Merged in fix/strokewidth-warning (pull request #3343)
fix: change to camelCase strokewidth warning * fix: change to camelCase strokewidth warning Approved-by: Anton Gunnarsson Approved-by: Matilda Landström
This commit is contained in:
@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
|
||||
import { getNucleoIconProps } from '../utils'
|
||||
|
||||
function Toilet2(props: NucleoIconProps) {
|
||||
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
|
||||
const { fill, strokeWidth, ...iconProps } = getNucleoIconProps(props)
|
||||
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
|
||||
@@ -16,18 +16,18 @@ function Toilet2(props: NucleoIconProps) {
|
||||
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}
|
||||
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}
|
||||
strokeWidth={strokeWidth}
|
||||
/>
|
||||
<line
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
strokeWidth={strokeWidth}
|
||||
x1="3.1"
|
||||
x2="20.9"
|
||||
y1="15"
|
||||
|
||||
Reference in New Issue
Block a user