euv-ui 0.32.5

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
use super::*;

/// Props for the [`euv_text`] component.
///
/// Defines the strongly-typed interface for a run of text: the string
/// itself and the typographic role it plays.
#[derive(Clone, CustomDebug, Default)]
pub struct EuvTextProps {
    /// The text to render.
    pub text: &'static str,
    /// The typographic role the text plays.
    pub variant: EuvTextVariant,
}