feat(menu): add Item::Entry with a reservable icon slot

This commit is contained in:
Hojjat 2026-09-02 19:03:07 -06:00 • committed by Michael Murphy
parent 2fb052d134
commit aac833d37d
2 changed files with 170 additions and 115 deletions

View file

@ -71,8 +71,8 @@ pub mod menu_column;
mod menu_inner;
mod menu_tree;
pub use menu_tree::{
MenuItem as Item, MenuTree as Tree, menu_button, menu_items as items, menu_root as root,
nav_context,
Entry, IconSlot, MenuItem as Item, MenuTree as Tree, menu_button, menu_items as items,
menu_root as root, nav_context,
};
pub use crate::style::menu_bar::{Appearance, StyleSheet};