1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-31 01:30:04 +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:
Keno Medenbach
2024-06-14 17:30:21 +02:00
committed by GitHub
parent 9239580313
commit 311e4c1fc5

View File

@@ -25,7 +25,7 @@ const createVueComponent =
fill: color,
}
: {
'stroke-width': stroke,
'stroke-width': stroke ?? defaultAttributes[type]['stroke-width'],
stroke: color,
}),
...rest,