feat!: Icon support for SVGs and Images w/ IconSource
This commit is contained in:
parent
c2625ef450
commit
d6800f7716
3 changed files with 107 additions and 40 deletions
|
|
@ -39,6 +39,7 @@ impl<'a, Message: 'static + Clone> From<NavButton<'a, Message>> for Element<'a,
|
|||
},
|
||||
24,
|
||||
)
|
||||
.force_svg(true)
|
||||
.style(theme::Svg::SymbolicActive)
|
||||
.width(Length::Units(24))
|
||||
.height(Length::Fill);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue