blob: 9e74de875cdba67ec2f7fcfb2e28c14c193d4c98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
use ratatui::{style::{Modifier, Style}, widgets::{Paragraph, Widget}};
#[derive(Debug, Default)]
pub struct Footer;
impl Footer {
pub fn new() -> Footer {
return Footer {}
}
}
impl Widget for &Footer {
fn render(self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) {
Paragraph::new("hellow")
.style(Style::default().add_modifier(Modifier::REVERSED))
.render(area, buf);
}
}
|