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 Bouquet(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,31 +16,31 @@ function Bouquet(props: NucleoIconProps) {
|
||||
d="M20.45,11.5a1.707,1.707,0,0,0-2.415,0,1.706,1.706,0,0,1-2.414,0,1.706,1.706,0,0,0-2.414,0,1.706,1.706,0,0,1-2.414,0,1.706,1.706,0,0,0-2.414,0,1.706,1.706,0,0,1-2.414,0,1.707,1.707,0,0,0-2.415,0L10,19h4Z"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
strokeWidth={strokeWidth}
|
||||
/>
|
||||
<path
|
||||
d="M11.378,2.877A6.631,6.631,0,0,1,16,1V4A4,4,0,0,1,8,4V1a4,4,0,0,1,4,4"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
strokeWidth={strokeWidth}
|
||||
/>
|
||||
<path
|
||||
d="M6,8a2.528,2.528,0,0,1,.5-5H8"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
strokeWidth={strokeWidth}
|
||||
/>
|
||||
<path
|
||||
d="M18,8a2.528,2.528,0,0,0-.5-5H16"
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
strokeWidth={strokeWidth}
|
||||
/>
|
||||
<polyline
|
||||
fill="none"
|
||||
points="10 19 9 23 15 23 14 19"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
strokeWidth={strokeWidth}
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
@@ -2,7 +2,7 @@ import type { NucleoIconProps } from '../../icon'
|
||||
import { getNucleoIconProps } from '../utils'
|
||||
|
||||
function Discount22(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,12 +16,12 @@ function Discount22(props: NucleoIconProps) {
|
||||
fill="none"
|
||||
points="19,15 22,12 19,9 19,5 15,5 12,2 9,5 5,5 5,9 2,12 5,15 5,19 9,19 12,22 15,19 19,19 "
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
strokeWidth={strokeWidth}
|
||||
/>
|
||||
<line
|
||||
fill="none"
|
||||
stroke={fill}
|
||||
strokeWidth={strokewidth}
|
||||
strokeWidth={strokeWidth}
|
||||
x1="15"
|
||||
x2="9"
|
||||
y1="9"
|
||||
|
||||
Reference in New Issue
Block a user