tui-lipan 0.1.0

Opinionated, component-based TUI framework for Rust - declarative components, reconciliation, layout engine, focus, overlays, and rich widgets on top of ratatui.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::core::node::WidgetNode;
use crate::style::{BorderStyle, Padding, Style};

#[derive(Clone, Debug, Default)]
pub struct FlowNode {
    pub style: Style,
    pub padding: Padding,
    pub border: bool,
    pub border_style: BorderStyle,
}

impl WidgetNode for FlowNode {}