diff --git a/yewprint-doc/src/progress_bar/mod.rs b/yewprint-doc/src/progress_bar/mod.rs index a001078..1ac6338 100644 --- a/yewprint-doc/src/progress_bar/mod.rs +++ b/yewprint-doc/src/progress_bar/mod.rs @@ -89,6 +89,7 @@ crate::build_example_prop_component! { (Some(Intent::Warning), "Warning".to_string()), (Some(Intent::Danger), "Danger".to_string()), ]} + value={self.example_props.intent} onchange={self.update_props(ctx, |props, intent| ExampleProps { intent, ..props