mirror of
https://github.com/tabler/tabler-icons.git
synced 2025-09-01 18:04:10 +02:00
@tabler/icons-vue: Fall back to default if stroke is undefined (#1129)
Fixes #1067 Co-authored-by: Keno Medenbach <k.medenbach@eplas.net>
This commit is contained in:
@@ -25,7 +25,7 @@ const createVueComponent =
|
|||||||
fill: color,
|
fill: color,
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
'stroke-width': stroke,
|
'stroke-width': stroke ?? defaultAttributes[type]['stroke-width'],
|
||||||
stroke: color,
|
stroke: color,
|
||||||
}),
|
}),
|
||||||
...rest,
|
...rest,
|
||||||
|
Reference in New Issue
Block a user