euv-ui 0.8.28

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

/// Props for the `euv_alert` component.
///
/// Defines the strongly-typed interface for an alert with variant styling.
#[derive(Clone, CustomDebug, Data, Default, New)]
pub struct EuvAlertProps {
    /// The visual variant of the alert (success or error).
    #[get(type(copy))]
    pub variant: AlertVariant,
}