mirror of
https://github.com/yewprint/yewprint
synced 2025-02-16 12:08:25 +00:00
Fix the elevation props in the example (#93)
This commit is contained in:
parent
91183bf07b
commit
a85bd29580
1 changed files with 5 additions and 1 deletions
|
@ -83,7 +83,11 @@ crate::build_example_prop_component! {
|
|||
(Elevation::Level3, "Level 3".to_string()),
|
||||
(Elevation::Level4, "Level 4".to_string()),
|
||||
]}
|
||||
value=Some(self.props.elevation)
|
||||
value=self.props.elevation
|
||||
onchange=self.update_props(|props, elevation| ExampleProps {
|
||||
elevation,
|
||||
..props
|
||||
})
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue