refactor(menu): add menu::bar as shorthand for MenuBar::new

This commit is contained in:
Michael Aaron Murphy 2024-05-20 00:28:02 +02:00
parent 709ab268a0
commit b3bce0740e
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 10 additions and 3 deletions

View file

@ -59,10 +59,11 @@ pub use action::MenuAction as Action;
mod flex;
pub mod key_bind;
pub use key_bind::KeyBind;
mod menu_bar;
pub use menu_bar::MenuBar;
pub(crate) use menu_bar::MenuBarState;
pub use menu_bar::{menu_bar as bar, MenuBar};
mod menu_inner;
mod menu_tree;