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