fncc-runtime 0.1.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
//! fncc runtime — re-exports GPUI and provides convenience wrappers.
pub use gpui::*;
pub use gpui::prelude::*;

/// 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()
}