//! Menu item component module
//!
//! Provides unified menu item rendering that works across client/SSR contexts.

pub mod unified;

#[cfg(not(target_arch = "wasm32"))]
pub mod ssr;

#[cfg(target_arch = "wasm32")]
pub mod client;

// Re-export the unified interface as the main API
#[cfg(target_arch = "wasm32")]
pub use client::menu_item_view;
// Also re-export context-specific functions for direct use
#[cfg(not(target_arch = "wasm32"))]
pub use ssr::menu_item_view_ssr;
pub use unified::render_menu_item;
