mentorenwahl/frontend/src/components/fetching.rs

19 lines
312 B
Rust

use yew::prelude::*;
pub struct Fetching;
impl Component for Fetching {
type Message = ();
type Properties = ();
fn create(_ctx: &Context<Self>) -> Self {
Self
}
fn view(&self, _ctx: &Context<Self>) -> Html {
html! {
<p>{ "Fetching..." }</p>
}
}
}