Files
osui-element/main.rs
T
2024-12-23 12:44:48 +01:00

16 lines
235 B
Rust

use osui_element::component;
pub type Element = i32;
pub trait Component: std::fmt::Debug {
type Element;
fn create_element(self) -> Self::Element;
}
#[component]
pub fn MyComponent<'a>(age: &'a str) {
0
}
fn main() {}