hello world example

This commit is contained in:
2024-09-17 20:30:02 +02:00
parent 9af6a8e6c5
commit 4e135f92e4
4 changed files with 79 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
use crate::Component;
pub fn text(text: &str) -> Component<String> {
Component::new(text.to_string())
}