use super::*;
#[derive(Clone, Copy, CustomDebug, Data, Default, New)]
pub struct EuvSelectOption {
#[get(type(copy))]
pub value: &'static str,
#[get(type(copy))]
pub label: &'static str,
#[get(type(copy))]
pub group: &'static str,
#[get(type(copy))]
pub disabled: bool,
}
#[derive(Clone, CustomDebug, Default)]
pub struct EuvSelectProps {
pub value: Signal<String>,
pub options: Vec<EuvSelectOption>,
pub placeholder: &'static str,
pub label: &'static str,
pub disabled: bool,
#[debug(skip)]
pub on_change: Option<Rc<dyn Fn(&'static str)>>,
}