Skip to main content

fncc_runtime/
lib.rs

1//! fncc runtime — re-exports GPUI and provides convenience wrappers.
2pub use gpui::prelude::*;
3pub use gpui::*;
4
5pub mod router;
6pub use router::*;
7
8/// A vertical stack (flex column) component.
9pub fn stack() -> Div {
10    div().flex().flex_col()
11}
12
13/// A horizontal stack (flex row) component.
14pub fn h_stack() -> Div {
15    div().flex()
16}