some fixes and changes

This commit is contained in:
2024-12-23 12:26:32 +01:00
parent 2d93b82802
commit d28bd2fdef
3 changed files with 38 additions and 20 deletions
+14
View File
@@ -0,0 +1,14 @@
use osui_element::component;
pub type Element = i32;
pub trait Component {
fn create_element(self) -> Element;
}
#[component]
pub fn MyComponent<'a>(age: &'a str) {
0
}
fn main() {}