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

18 lines
415 B
Rust

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"/> }
}