This commit is contained in:
ClementTsang 2022-01-01 04:15:52 -05:00
parent d518f6564d
commit 2fb17df786
3 changed files with 15 additions and 1 deletions

View File

@ -20,4 +20,10 @@ pub mod empty;
pub use empty::Empty; pub use empty::Empty;
pub mod padding; pub mod padding;
pub use padding::*; pub use padding::*;
pub mod time_graph;
pub use time_graph::TimeGraph;
pub mod selectable_block;
pub use selectable_block::SelectableBlock;

View File

@ -0,0 +1,4 @@
/// A [`SelectableBlock`] is an extension around a [`Block`], that adds selection
/// indication logic and binds [`Event::Keyboard`] events to **always** be captured by
/// the children of the [`SelectableBlock`].
pub struct SelectableBlock {}

View File

@ -0,0 +1,4 @@
/// A [`TimeGraph`] is a component that indicates data in a graph form with the time being
/// the x-axis. It displays the most recent data at the right, with the recent data
/// being at the left.
pub struct TimeGraph {}