use super::*;
#[derive(Clone, CustomDebug, Default)]
pub struct EuvNotificationItem {
pub title: &'static str,
pub text: &'static str,
#[debug(skip)]
pub on_close: Option<Rc<dyn Fn()>>,
pub dismissible: bool,
}
#[derive(Clone, CustomDebug, Default)]
pub struct EuvNotificationProps {
pub items: Vec<EuvNotificationItem>,
}
#[derive(Clone, CustomDebug, Data, Default, New)]
pub struct EuvToastProps {
#[get(type(copy))]
pub variant: EuvToastVariant,
#[get(type(copy))]
pub title: &'static str,
#[get(type(copy))]
pub description: &'static str,
#[get(type(copy))]
pub action_label: &'static str,
#[get(type(copy))]
pub dismissible: bool,
#[debug(skip)]
pub on_action: Option<Rc<dyn Fn()>>,
#[debug(skip)]
pub on_close: Option<Rc<dyn Fn()>>,
}
#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
pub struct EuvToastTitleProps {
#[get(type(copy))]
pub text: &'static str,
}
#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
pub struct EuvToastDescriptionProps {
#[get(type(copy))]
pub text: &'static str,
}
#[derive(Clone, CustomDebug, Data, Default, New)]
pub struct EuvToastActionProps {
#[get(type(copy))]
pub label: &'static str,
#[debug(skip)]
pub on_click: Option<Rc<dyn Fn()>>,
}
#[derive(Clone, CustomDebug, Default)]
pub struct EuvToastCardProps {}
#[derive(Clone, CustomDebug, Default)]
pub struct EuvToastProviderProps {}
#[derive(Clone, CustomDebug, Default)]
pub struct EuvToastViewportProps {}
#[derive(Clone, CustomDebug, Default)]
pub struct EuvToastCloseProps {
#[debug(skip)]
pub on_click: Option<Rc<dyn Fn()>>,
}