show more cases in the optional props example
This commit is contained in:
1 parent
be94c69f11
commit
533c7bab49
1 file changed
+6
@@ -20,10 +20,16 @@ fn app(cx: Scope) -> Element {
|
|||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
a: "asd".to_string(),
|
a: "asd".to_string(),
|
||||||
|
b: "asd".to_string(),
|
||||||
c: "asd".to_string(),
|
c: "asd".to_string(),
|
||||||
d: Some("asd".to_string()),
|
d: Some("asd".to_string()),
|
||||||
e: "asd".to_string(),
|
e: "asd".to_string(),
|
||||||
}
|
}
|
||||||
|
Button {
|
||||||
|
a: "asd".to_string(),
|
||||||
|
c: "asd".to_string(),
|
||||||
|
d: Some("asd".to_string()),
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user