euv_ui/component/popover/view/struct.rs
1use super::*;
2
3/// Props for the [`euv_popover`] component.
4///
5/// The open state is owned by the caller so its own trigger (rendered outside
6/// the popover) can toggle it through [`on_popover_toggle`]; the panel body
7/// is built from the children.
8#[derive(Clone, CustomDebug, Default)]
9pub struct EuvPopoverProps {
10 /// The open state signal driving the panel's reactive class.
11 pub open: Signal<bool>,
12 /// The panel title rendered in the header row.
13 pub title: &'static str,
14 /// The side of the trigger the panel is anchored to.
15 pub placement: EuvTooltipPlacement,
16}