Make menu style accessible
This commit is contained in:
parent
4655411256
commit
214f6f9cba
2 changed files with 11 additions and 0 deletions
10
src/overlay.rs
Normal file
10
src/overlay.rs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
//! Build and show dropdown menus.
|
||||
///
|
||||
/// This is an alias of an `iced_native` element with a default `Renderer`.
|
||||
pub mod menu {
|
||||
pub use iced_native::overlay::menu::{Appearance, State, StyleSheet};
|
||||
|
||||
/// A widget that produces a message when clicked.
|
||||
pub type Menu<'a, Message, Renderer = crate::Renderer> =
|
||||
iced_native::overlay::Menu<'a, Message, Renderer>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue