euv_ui/component/overlay/
struct.rs1use super::*;
2
3#[derive(Clone, Data, Debug, New, Props)]
5pub struct EuvModal {
6 #[get(type(copy))]
8 pub(crate) open: Signal<bool>,
9 pub(crate) title: String,
11 #[get(type(copy))]
13 pub(crate) body: NodeId,
14 #[get(type(copy))]
16 pub(crate) tokens: ThemeTokens,
17}
18
19#[derive(Clone, Data, Debug, New, Props)]
21pub struct EuvToast {
22 #[get(type(copy))]
24 pub(crate) visible: Signal<bool>,
25 pub(crate) message: String,
27 #[get(type(copy))]
29 pub(crate) tone: EuvTone,
30 #[get(type(copy))]
32 pub(crate) tokens: ThemeTokens,
33}