Feat: push new component API and context API

This commit is contained in:
Jonathan Kelley committed 2021-02-11 23:03:01 -05:00
1 parent 8329268d39
commit 125f5426a4
14 files changed
+432 -264

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ impl Properties for Props {
}
}
static Example: FC<Props> = |ctx| {
static Example: FC<Props> = |ctx, props| {
ctx.view(html! {
<div>
<h1> </h1>