Skip to content

Instantly share code, notes, and snippets.

@Mr-Malomz
Created March 10, 2023 11:02
Show Gist options
  • Save Mr-Malomz/4f66b96e3fa1ec715ad9c9be84b9d40f to your computer and use it in GitHub Desktop.
Save Mr-Malomz/4f66b96e3fa1ec715ad9c9be84b9d40f to your computer and use it in GitHub Desktop.
use yew::prelude::*;
#[function_component(Loader)]
pub fn loader() -> Html {
html! {
<div class="spinner-border" role="status">
<span class="visually-hidden">{"Loading..."}</span>
</div>
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment