pub mod constructors;
pub mod methods;
pub mod rendering;
use ratatui::style::Style;
use ratatui::text::Line;
use ratatui::widgets::BorderType;
#[derive(Clone, Debug)]
pub struct Pane<'a> {
pub title: String,
pub icon: Option<String>,
pub padding: (u16, u16, u16, u16),
pub text_footer: Option<Line<'a>>,
pub footer_height: u16,
pub border_style: Style,
pub border_type: BorderType,
pub title_style: Style,
pub footer_style: Style,
}
impl<'a> Default for Pane<'a> {
fn default() -> Self {
Self::new("Pane")
}
}