euv-ui 0.28.2

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

/// Props for the [`euv_tooltip`] component.
///
/// The trigger element is supplied as children; the bubble carries `text`.
#[derive(Clone, CustomDebug, Default)]
pub struct EuvTooltipProps {
    /// The hint text rendered inside the bubble.
    pub text: &'static str,
    /// The side of the trigger the bubble is anchored to.
    pub placement: EuvTooltipPlacement,
}