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:
@@ -25,7 +25,7 @@ const createVueComponent =
|
||||
fill: color,
|
||||
}
|
||||
: {
|
||||
'stroke-width': stroke,
|
||||
'stroke-width': stroke ?? defaultAttributes[type]['stroke-width'],
|
||||
stroke: color,
|
||||
}),
|
||||
...rest,
|
||||
|
Reference in New Issue
Block a user