Feat: overall API updates

This commit is contained in:
Jonathan Kelley committed 2021-02-12 00:29:46 -05:00
1 parent 125f5426a4
commit f47651b32a
16 files changed
+234 -177

No files matched your search

-2
View File
@@ -19,12 +19,10 @@ static Example: FC<Props> = |ctx, props| {
ctx.view(move |bump| {
button(bump)
.on("click", move |_| {
// //
println!("Value is {}", props.name);
println!("Value is {}", value.as_str());
println!("Value is {}", *value);
})
//
.on("click", move |_| {
println!("Value is {}", props.name);
})