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

{ props.a }

} } fn main() {}