diff --git a/radicle-tui/src/ui.rs b/radicle-tui/src/ui.rs index bce69326..d7a19d6d 100644 --- a/radicle-tui/src/ui.rs +++ b/radicle-tui/src/ui.rs @@ -6,9 +6,13 @@ pub mod widget; use tuirealm::props::Attribute; use tuirealm::{MockComponent, StateValue}; -use components::{GlobalListener, Label, Shortcut, ShortcutBar}; +use components::{GlobalListener, Label, Property, PropertyList, Shortcut, ShortcutBar}; use widget::Widget; +pub fn global_listener() -> Widget { + Widget::new(GlobalListener::default()) +} + pub fn label(content: &str) -> Widget