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
|
|
@ -3,10 +3,10 @@
|
|||
//! A [`Button`] has some local [`State`].
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_native::button::{State, Style, StyleSheet};
|
||||
pub use iced_native::widget::button::{State, Style, StyleSheet};
|
||||
|
||||
/// 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, Backend> =
|
||||
iced_native::Button<'a, Message, Renderer<Backend>>;
|
||||
iced_native::widget::Button<'a, Message, Renderer<Backend>>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue