updated component

This commit is contained in:
2024-12-23 00:28:14 +01:00
parent 8550b5f6ff
commit 2d0668955e
3 changed files with 17 additions and 4 deletions
+13
View File
@@ -1 +1,14 @@
use osui_element::component;
type Element = i32;
pub trait Component: std::fmt::Debug {
fn create_element(&self) -> Element;
}
#[component]
fn testing() {
20
}
fn main() {}