euv-ui 0.36.0

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

/// The visual variants of a toast.
///
/// The reference publishes two: the neutral one and the destructive one,
/// which paints the card with the destructive surface and its border.
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub enum EuvToastVariant {
    /// The neutral toast.
    #[default]
    Default,
    /// The toast that reports a failure.
    Destructive,
}