orbital_base_components/overlay/panel.rs
1#[derive(Debug, Clone, Copy, Default, PartialEq, Eq)]
2pub enum OverlayPanelSize {
3 Small,
4 #[default]
5 Medium,
6 Large,
7}
8
9impl OverlayPanelSize {
10 pub fn as_str(&self) -> &'static str {
11 match self {
12 Self::Small => "small",
13 Self::Medium => "medium",
14 Self::Large => "large",
15 }
16 }
17}