Initialize

This commit is contained in:
2024-09-14 16:42:47 +08:00
parent 3fc4e60c94
commit 15e02e99e6
4 changed files with 7 additions and 1 deletions

6
src/component.rs Normal file
View File

@@ -0,0 +1,6 @@
use ratatui::widgets::Widget;
pub trait Component {
fn render(&self) -> Box<dyn Widget>;
}

View File

@@ -1,5 +1,5 @@
pub mod widget;
pub mod component;
#[tokio::main]
async fn main() {

View File