use yew::prelude::*; use yew_style::Style; #[derive(PartialEq, Properties)] struct ButtonProps { #[prop_or_default] pub class: Classes, #[prop_or_default] pub id: Option, #[prop_or_default] pub style: Style, #[prop_or_default] pub children: Html, } #[function_component] fn Button(props: &ButtonProps) -> Html { html! { } } #[function_component] fn App() -> Html { html! { } }