Skip to main content

euv_ui/component/tooltip/view/
struct.rs

1use super::*;
2
3/// Props for the [`euv_tooltip`] component.
4///
5/// The trigger element is supplied as children; the bubble carries `text`.
6#[derive(Clone, CustomDebug, Default)]
7pub struct EuvTooltipProps {
8    /// The hint text rendered inside the bubble.
9    pub text: &'static str,
10    /// The side of the trigger the bubble is anchored to.
11    pub placement: EuvTooltipPlacement,
12}