WIP: moving to CbIdx as serializable event system
This commit is contained in:
1 parent
e4b1f6ea0d
commit
e840f472fa
9 files changed
+160
-200
No files matched your search
@@ -23,16 +23,3 @@ static Example: FC<()> = |ctx, props| {
|
||||
</div>
|
||||
})
|
||||
};
|
||||
|
||||
struct ItemProps {
|
||||
name: String,
|
||||
birthdate: String,
|
||||
}
|
||||
static Item: FC<ItemProps> = |ctx, ItemProps { name, birthdate }| {
|
||||
ctx.view(html! {
|
||||
<div>
|
||||
<p>"{name}"</p>
|
||||
<p>"{birthdate}"</p>
|
||||
</div>
|
||||
})
|
||||
};
|
||||
Reference in new issue
Block a user