Rename Variant to Style and Style to Appearance
This commit is contained in:
parent
7f3b7075db
commit
cf0230072c
12 changed files with 91 additions and 99 deletions
|
|
@ -14,7 +14,7 @@ pub type Text<Theme = crate::Theme> =
|
|||
|
||||
pub mod button {
|
||||
//! Allow your users to perform actions by pressing a button.
|
||||
pub use iced_pure::widget::button::{Style, StyleSheet};
|
||||
pub use iced_pure::widget::button::{Appearance, StyleSheet};
|
||||
|
||||
/// A widget that produces a message when clicked.
|
||||
pub type Button<'a, Message, Theme = crate::Theme> =
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ pub mod button {
|
|||
//! Allow your users to perform actions by pressing a button.
|
||||
//!
|
||||
//! A [`Button`] has some local [`State`].
|
||||
pub use iced_native::widget::button::{State, Style, StyleSheet};
|
||||
pub use iced_native::widget::button::{Appearance, State, StyleSheet};
|
||||
|
||||
/// A widget that produces a message when clicked.
|
||||
pub type Button<'a, Message, Theme = crate::Theme> =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue