feat: implement basic selectable nav list

This commit is contained in:
alphafetus committed 2026-01-26 16:42:32 -05:00
1 parent 2069beba8a
commit aa912673c0
10 files changed
+285 -19

No files matched your search

+10 -1
View File
@@ -1,5 +1,14 @@
#[derive(Debug, Clone)]
pub struct TabInfo {
pub name: String,
pub text: String,
pub path: String,
}
impl TabInfo {
pub fn new(text: impl Into<String>, path: impl Into<String>) -> Self {
Self {
text: text.into(),
path: path.into(),
}
}
}