1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
pub use polyhorn_core::{
render, Context, ContextProvider, Key, Link, Receiver, Reference, Sender, State,
};
pub use polyhorn_ui::{assets, color, font, geometry, layout, linalg, styles};
pub use polyhorn_ui_macros::render;
pub mod components;
pub mod prelude;
pub mod raw;
pub mod hooks {
pub use polyhorn_core::{
use_async, use_context, use_effect, use_id, use_reference, use_state, UseAsync, UseContext,
UseEffect, UseReference,
};
pub use polyhorn_ui::hooks::*;
}
use raw::Platform;
pub type Element = polyhorn_core::Element<Platform>;
pub type Instance = polyhorn_core::Instance<Platform>;
pub type Manager<'a> = polyhorn_core::Manager<'a, Platform>;
pub type Weak = polyhorn_core::Weak<Platform>;
pub type WeakLink<'a> = polyhorn_core::WeakLink<'a, Platform>;
pub type WeakReference<T> = polyhorn_core::WeakReference<Platform, T>;
pub type WeakState<T> = polyhorn_core::WeakState<Platform, T>;
pub use raw::Component;