catfood-bar 0.3.0

A system bar component of the catfood utility suite
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Debug, Default, Clone)]
pub struct ErrorIcon;

impl ErrorIcon {
    pub fn new() -> Self {
        Self
    }

    pub fn render_as_spans(&self) -> Vec<ratatui::text::Span<'_>> {
        vec![ratatui::text::Span::styled(
            "",
            ratatui::style::Style::default(), // .fg(ratatui::style::Color::Yellow),
        )]
    }
}