Skip to content
Snippets Groups Projects
lib.rs 557 B
Newer Older
MrGVSV's avatar
MrGVSV committed
/// The core of Kayak UI, containing all required code
StarArawn's avatar
StarArawn committed
pub mod core {
    pub use kayak_core::*;
MrGVSV's avatar
MrGVSV committed
    pub use kayak_render_macros::{
        constructor, render, rsx, use_effect, use_state, widget, WidgetProps,
    };
StarArawn's avatar
StarArawn committed
}
StarArawn's avatar
StarArawn committed

MrGVSV's avatar
MrGVSV committed
/// Contains code related to loading and reading fonts in Kayak UI
StarArawn's avatar
StarArawn committed
#[cfg(feature = "bevy_renderer")]
pub mod font {
    pub use kayak_font::*;
}

MrGVSV's avatar
MrGVSV committed
/// Bevy-specific code for Bevy integration
StarArawn's avatar
StarArawn committed
#[cfg(feature = "bevy_renderer")]
pub mod bevy {
    pub use bevy_kayak_ui::*;
}
MrGVSV's avatar
MrGVSV committed
/// A convenient collection of built-in widgets