euv-ui 0.28.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::*;

/// Props for the [`euv_divider`] component.
///
/// A non-empty `label` switches the plain rule to the labelled form: the
/// text sits between two rule segments.
#[derive(Clone, CustomDebug, Default)]
pub struct EuvDividerProps {
    /// The direction the rule runs in.
    pub orientation: EuvDividerOrientation,
    /// The optional label centred between two rule segments (skipped when
    /// empty).
    pub label: &'static str,
}