Remove widget module re-exports in iced_native
This commit is contained in:
parent
e5e477aa69
commit
0aafcde0ef
81 changed files with 166 additions and 154 deletions
|
|
@ -4,9 +4,10 @@
|
|||
use crate::Renderer;
|
||||
|
||||
pub use iced_graphics::button::{Style, StyleSheet};
|
||||
pub use iced_native::button::State;
|
||||
pub use iced_native::widget::button::State;
|
||||
|
||||
/// A widget that produces a message when clicked.
|
||||
///
|
||||
/// This is an alias of an `iced_native` button with an `iced_wgpu::Renderer`.
|
||||
pub type Button<'a, Message> = iced_native::Button<'a, Message, Renderer>;
|
||||
pub type Button<'a, Message> =
|
||||
iced_native::widget::Button<'a, Message, Renderer>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue