thaw 0.4.8

An easy to use leptos component library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Debug, Default, PartialEq, Clone, Copy)]
pub enum SpinButtonSize {
    Small,
    #[default]
    Medium,
}

impl SpinButtonSize {
    pub fn as_str(&self) -> &'static str {
        match self {
            Self::Small => "small",
            Self::Medium => "medium",
        }
    }
}