Feat: fix docs names

This commit is contained in:
Jonathan Kelley committed 2021-02-08 11:12:02 -05:00
1 parent edbb33b2ee
commit ee23ea6c3a
13 files changed
+39 -14

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
```rust
fn Example(ctx: &mut Context<()>) -> VNode {
let service = use_combubulator(ctx);
let Status { name, pending, count } = service.info();
html! {
<div>
<p> "Hello, {name}!" </p>
<p> "Status: {pending}!" </p>
<p> "Count {count}!" </p>
<button onclick=|_| service.update()>
"Refresh services"
</button>
</div>
}
}
```