#[derive(Debug, Default, Clone, Copy, PartialEq, Eq)]
pub enum Variant {
#[default]
Checkbox,
Radio,
Switch,
}
impl Variant {
#[must_use]
pub const fn name(&self) -> &'static str {
match self {
Self::Checkbox | Self::Switch => "checkbox",
Self::Radio => "radio",
}
}
}