use super::*;
#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
pub struct EuvRadioOption {
#[get(type(copy))]
pub value: &'static str,
#[get(type(copy))]
pub label: &'static str,
}
#[derive(Clone, CustomDebug, Data, Default, New)]
pub struct EuvRadioGroupProps {
#[get(type(copy))]
pub name: &'static str,
pub options: Vec<EuvRadioOption>,
#[get(type(copy))]
pub value: Signal<String>,
#[get(type(copy))]
pub label: &'static str,
}
#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
pub struct EuvRadioGroupRootProps {
#[get(type(copy))]
pub label: &'static str,
}
#[derive(Clone, CustomDebug, Data, Default, New)]
pub struct EuvRadioGroupItemProps {
#[get(type(copy))]
pub label: &'static str,
#[get(type(copy))]
pub value: &'static str,
#[get(type(copy))]
pub checked: Signal<bool>,
#[debug(skip)]
pub on_select: Option<Rc<dyn Fn(&'static str)>>,
}