remove cx.render

This commit is contained in:
Jonathan Kelley committed 2024-01-13 21:12:21 -08:00
1 parent fae0b08e61
commit 1dde044697
159 files changed
+600 -658

No files matched your search

+3 -3
View File
@@ -23,10 +23,10 @@ use crate::{get_abs_layout, layout_to_screen_space};
/// }
///
/// fn app() -> Element {
/// let hue = use_state(|| 0.0);
/// let brightness = use_state(|| 0.0);
/// let hue = use_signal(|| 0.0);
/// let brightness = use_signal(|| 0.0);
/// let tui_query: Query = cx.consume_context().unwrap();
/// cx.render(rsx! {
/// rsx! {
/// div{
/// width: "100%",
/// background_color: "hsl({hue}, 70%, {brightness}%)",