rust-galmon-web/src/uitools/icons.rs

18 lines
415 B
Rust
Raw Normal View History

2019-09-28 10:16:55 +00:00
use yew::prelude::*;
pub fn icon_unlock<COMP: Component>() -> Html<COMP> {
html!{ <i class="fa fa-unlock-alt"/> }
}
pub fn icon_lock<COMP: Component>() -> Html<COMP> {
html!{ <i class="fa fa-lock"/> }
}
pub fn icon_refresh<COMP: Component>() -> Html<COMP> {
html!{ <i class="fa fa-refresh"/> }
}
pub fn icon_question_circle<COMP: Component>() -> Html<COMP> {
html!{ <i class="fa fa-question-circle-o"/> }
}