component generator

This commit is contained in:
2026-01-30 19:29:52 +01:00
parent 1f64b4f6e2
commit e85257a10e
6 changed files with 125 additions and 32 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ pub mod prelude {
pub use crate::render::*;
pub use crate::state::*;
pub use crate::View;
pub use osui_macros::rsx;
pub use osui_macros::{component, rsx};
}
pub type View = Arc<dyn Fn(&mut DrawContext) + Send + Sync>;