Feat: some docs
This commit is contained in:
1 parent
508c560320
commit
1919f88f03
10 files changed
+179
-182
No files matched your search
@@ -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>
|
||||
})
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user