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 monochrome glyph wrapper rendering an inline emoji or text symbol.
///
/// Renders a `<span>` carrying the base `c_euv_icon` class plus an inline
/// style pinning `font-size`, `width`, and `height` to the size in pixels so
/// the glyph occupies a stable box regardless of the surrounding type scale.
/// When `label` is non-empty a `c_euv_icon_label` span is rendered next to the
/// glyph.
///
/// # Arguments
///
/// - `VirtualNode<EuvIconProps>` - The props node carrying the component configuration.
///
/// # Returns
///
/// - `VirtualNode` - The component virtual DOM tree.