Feat: WIP ctx
This commit is contained in:
1 parent
b3e6886351
commit
7a6aabe4f3
18 files changed
+430
-99
No files matched your search
@@ -16,16 +16,18 @@ fn main() -> Result<(), ()> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct Props {
|
||||
name: String,
|
||||
}
|
||||
impl Properties for Props {
|
||||
fn call(&self, ptr: *const ()) {}
|
||||
|
||||
// fn new() -> Self {
|
||||
// todo!()
|
||||
// }
|
||||
}
|
||||
// impl Properties for Props {
|
||||
// fn call(&self, ptr: *const ()) {}
|
||||
|
||||
// // fn new() -> Self {
|
||||
// // todo!()
|
||||
// // }
|
||||
// }
|
||||
|
||||
static Example: FC<Props> = |ctx, props| {
|
||||
ctx.view(html! {
|
||||
|
||||
Reference in new issue
Block a user