working render

This commit is contained in:
2024-11-20 15:47:27 +01:00
parent e55606b9cf
commit e4835b9efa
5 changed files with 62 additions and 95 deletions
+2 -2
View File
@@ -94,8 +94,8 @@ pub trait ElementCore: Send + Sync {
}
pub trait Component: ElementCore + std::fmt::Debug {
fn render(&self, state: State) -> String {
_ = state;
fn render(&self, focused: bool) -> String {
_ = focused;
String::new()
}