chore: update deps
This commit is contained in:
@@ -96,23 +96,20 @@ impl ButtonCustomVariant {
|
||||
}
|
||||
|
||||
/// The variant of the Button.
|
||||
#[derive(Clone, Copy, PartialEq, Eq)]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Default)]
|
||||
pub enum ButtonVariant {
|
||||
#[default]
|
||||
Primary,
|
||||
Secondary,
|
||||
Danger,
|
||||
Warning,
|
||||
Ghost { alt: bool },
|
||||
Ghost {
|
||||
alt: bool,
|
||||
},
|
||||
Transparent,
|
||||
Custom(ButtonCustomVariant),
|
||||
}
|
||||
|
||||
impl Default for ButtonVariant {
|
||||
fn default() -> Self {
|
||||
Self::Primary
|
||||
}
|
||||
}
|
||||
|
||||
/// A Button element.
|
||||
#[derive(IntoElement)]
|
||||
#[allow(clippy::type_complexity)]
|
||||
|
||||
Reference in New Issue
Block a user