euv-ui 0.37.3

Reusable UI component library for the euv framework, providing buttons, cards, modals, inputs, and more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::*;

/// How many sections of an accordion may be open at the same time.
///
/// The reference publishes two: a single section, and any number of
/// sections.
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub enum EuvAccordionType {
    /// At most one section stays open.
    #[default]
    Single,
    /// Any number of sections may stay open.
    Multiple,
}