show more cases in the optional props example

This commit is contained in:
Evan Almloff 2023-11-29 11:39:38 -06:00
parent be94c69f11
commit 533c7bab49

View file

@ -20,10 +20,16 @@ fn app(cx: Scope) -> Element {
}
Button {
a: "asd".to_string(),
b: "asd".to_string(),
c: "asd".to_string(),
d: Some("asd".to_string()),
e: "asd".to_string(),
}
Button {
a: "asd".to_string(),
c: "asd".to_string(),
d: Some("asd".to_string()),
}
})
}