wip: rewrite core to be template focused
This commit is contained in:
1 parent
67012c38df
commit
23603aaaf5
34 files changed
+3177
-2456
No files matched your search
@@ -0,0 +1,7 @@
|
||||
// pub trait IntoComponentType<T> {
|
||||
// fn into_component_type(self) -> ComponentType;
|
||||
// }
|
||||
|
||||
use crate::{element::Element, scopes::Scope};
|
||||
|
||||
pub type Component<T = ()> = fn(&Scope<T>) -> Element;
|
||||
Reference in new issue
Block a user