fncc-runtime 0.2.0

Runtime re-exports and convenience wrappers for the fncc native UI framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! fncc runtime — re-exports GPUI and provides convenience wrappers.
pub use gpui::prelude::*;
pub use gpui::*;

pub mod router;
pub use router::*;

/// A vertical stack (flex column) component.
pub fn stack() -> Div {
    div().flex().flex_col()
}

/// A horizontal stack (flex row) component.
pub fn h_stack() -> Div {
    div().flex()
}