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 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"