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 Chips3(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,24 +16,24 @@ function Chips3(props: NucleoIconProps) {
fill="none"
points="4,9 4,3 8,3 "
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<polyline
fill="none"
points="16,9 16,2 20,2 20,9 "
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<polyline
fill="none"
points="8,9 8,1 12,1 12,9 "
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="12"
x2="16"
y1="5"
@@ -43,7 +43,7 @@ function Chips3(props: NucleoIconProps) {
fill="none"
points="19,23 5,23 2,9 22,9 "
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<circle
cx="12"
@@ -51,7 +51,7 @@ function Chips3(props: NucleoIconProps) {
fill="none"
r="3"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
</g>
</svg>

View File

@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function Popcorn2(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 Popcorn2(props: NucleoIconProps) {
fill="none"
points="21 7 3 7 5 23 19 23 21 7"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<path
d="M19,5a3,3,0,0,0-3-3,2.97,2.97,0,0,0-1.47.4,2.986,2.986,0,0,0-5.06,0A2.97,2.97,0,0,0,8,2,3,3,0,0,0,5,5"
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
/>
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="9"
x2="8"
y1="23"
@@ -36,7 +36,7 @@ function Popcorn2(props: NucleoIconProps) {
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
strokeWidth={strokeWidth}
x1="15"
x2="16"
y1="23"