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

{ props.a }

} } fn main() {}