This commit is contained in:
Nathan Sobo 2023-08-16 13:52:42 -06:00
parent f1aafab61d
commit 187d78011c
8 changed files with 147 additions and 38 deletions

View file

@ -18,6 +18,7 @@ mod color;
mod components;
mod element;
mod frame;
mod paint_context;
mod style;
mod text;
mod themes;
@ -48,7 +49,7 @@ fn playground<V: 'static>(theme: &ThemeColors) -> impl Element<V> {
.h_full()
.w_half()
.fill(theme.success(0.5))
.child(button().label("Hello").click(|_, _| (println!("hey!"))))
.child(button().label("Hello").click(|_, _, _| (println!("hey!"))))
}
// todo!()