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:
Bianca Widstam
2025-12-12 11:47:00 +00:00
parent 3e3b15940f
commit ee16d2ef6d
15 changed files with 82 additions and 78 deletions

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function BowlingPins(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,13 +16,13 @@ function BowlingPins(props: NucleoIconProps) {
d="M18.575,23A13.8,13.8,0,0,0,20,16.5c0-4-2-6-2-9,0-2.5.5-2.5.5-4a2.5,2.5,0,0,0-5,0c0,1.5.5,1.5.5,4,0,3-2,5-2,9A13.8,13.8,0,0,0,13.425,23Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M9.952,11.247a7.883,7.883,0,0,1-.7-2.929c0-2.045.438-2.045.438-3.273A2.121,2.121,0,0,0,7.5,3,2.121,2.121,0,0,0,5.312,5.045c0,1.228.438,1.228.438,3.273C5.75,10.773,4,12.409,4,15.682A10.7,10.7,0,0,0,5.247,21H10"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
</g>
</svg>

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function PalmTree2(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,36 +16,36 @@ function PalmTree2(props: NucleoIconProps) {
d="M11.4,23a21.14,21.14,0,0,0,1.594-8.059A21.111,21.111,0,0,0,11,6"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M4,15l7-9C6,6,2,9,4,15Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M21,12,11,6S20,2,21,12Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M11,6,3,5S7-1,11,6Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M11,6l9-3S11.971-2.161,11,6Z"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="1"
x2="23"
y1="23"