2025-07-21 10:06:41 +09:00

19 lines
236 B
Rust

use yew::prelude::*;
#[derive(Clone, Properties, PartialEq)]
struct Props {
a: usize,
}
#[component(Comp)]
async fn comp(props: &Props) -> Html {
html! {
<p>
{ props.a }
</p>
}
}
fn main() {}