euv-ui 0.18.22

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
12
13
14
15
use super::*;

/// Props for the [`euv_result`] component.
#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
pub struct EuvResultProps {
    /// The big status code (e.g. `"404"`, skipped when empty).
    #[get(type(copy))]
    pub code: &'static str,
    /// The result title (skipped when empty).
    #[get(type(copy))]
    pub title: &'static str,
    /// The description rendered under the title (skipped when empty).
    #[get(type(copy))]
    pub description: &'static str,
}