hikari-components 0.3.12

Core UI components (buttons, inputs, tables, modals) for the Hikari design system
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Platform abstraction layer for components
//!
//! This module provides platform-agnostic APIs for DOM operations,
//! abstracting over web_sys and future Platform implementations.

#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
pub mod stub;
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
pub mod web;

#[cfg(not(all(target_arch = "wasm32", target_os = "unknown")))]
pub use stub::*;
#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
pub use web::*;