euv_ui/component/result/view/struct.rs
1use super::*;
2
3/// Props for the [`euv_result`] component.
4#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
5pub struct EuvResultProps {
6 /// The big status code (e.g. `"404"`, skipped when empty).
7 #[get(type(copy))]
8 pub code: &'static str,
9 /// The result title (skipped when empty).
10 #[get(type(copy))]
11 pub title: &'static str,
12 /// The description rendered under the title (skipped when empty).
13 #[get(type(copy))]
14 pub description: &'static str,
15}