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

{ props.a }

} } fn main() {}