large structure update

This commit is contained in:
2024-10-30 14:14:16 +01:00
parent 87ae71072e
commit 6bbc850a9c
3 changed files with 251 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
use crate::{element, ui::Style, Element, ElementData};
element! {
Text {}
defaults {}
fn render(&mut self) -> String {
self.style.write(&self.text)
}
}