Feat: some docs

This commit is contained in:
Jonathan Kelley committed 2021-06-02 11:07:30 -04:00
1 parent 508c560320
commit 1919f88f03
10 files changed
+179 -182

No files matched your search

+2 -2
View File
@@ -9,8 +9,8 @@ struct MyProps {
}
fn Example(ctx: Context<MyProps>) -> VNode {
ctx.render(html! {
<div> "Hello {ctx.props().name}!" </div>
ctx.render(html! {
<div> "Hello {ctx.name}!" </div>
})
}
```