1
2
3
4
5
6
7
8
9
/// A generic widget.
///
/// This is an alias of an `iced_native` element with a default `Renderer`.
#[cfg(not(target_arch = "wasm32"))]
pub type Element<'a, Message> =
    crate::runtime::Element<'a, Message, crate::renderer::Renderer>;

#[cfg(target_arch = "wasm32")]
pub use iced_web::Element;