1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
use *;
/// A generic section rule aligned with common component libraries.
///
/// Renders a single dashed rule in the requested orientation. A non-empty
/// `label` switches to the labelled form, where the text is centred
/// between two rule segments — the same monochrome "dashed line, text,
/// dashed line" motif the design system uses for section breaks.
///
/// # Arguments
///
/// - `VirtualNode<EuvDividerProps>` - The props node containing orientation
/// and label.
///
/// # Returns
///
/// - `VirtualNode` - The divider virtual DOM tree.