removed wrapper

This commit is contained in:
2024-11-20 14:47:59 +01:00
parent a593829a81
commit e55606b9cf
4 changed files with 34 additions and 19 deletions
+3 -1
View File
@@ -33,12 +33,14 @@ pub mod macros;
pub mod ui;
pub mod utils;
pub use app::run;
/// The `prelude` module provides commonly used imports and macros to simplify the development
/// of UI elements. It re-exports commonly used traits, structs, and utility functions to make
/// the UI framework easier to use.
pub mod prelude {
pub use crate::ui::Color::*;
pub use crate::{app::run, css, rsx, rsx_elem, ui::*, Handler};
pub use crate::{self as osui, css, rsx, rsx_elem, ui::*, Handler};
pub use crate::{Element, State, StateChanger, Value};
// useful for Element making
pub use crate::{run_handler, Children, Component, ElementCore};