mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 06:19:22 -05:00
fix: Icon fill default value (#121)
This commit is contained in:
parent
df57bca909
commit
f035555626
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ pub fn Icon(
|
|||
icon_stroke_linejoin.set(icon.stroke_linejoin.map(|a| a.into_attribute()));
|
||||
icon_stroke_width.set(icon.stroke_width.map(|a| a.into_attribute()));
|
||||
icon_stroke.set(icon.stroke.map(|a| a.into_attribute()));
|
||||
icon_fill.set(icon.fill.map(|a| a.into_attribute()));
|
||||
icon_fill.set(Some(icon.fill.unwrap_or("currentColor").into_attribute()));
|
||||
icon_data.set(Some(icon.data.into_attribute()));
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue