usesuper::*;/// Props for the [`euv_back_top`] component.
////// Defines the strongly-typed interface for a back-to-top button: when
/// it is on screen, what it says, and what happens when it is taken.
#[derive(Clone, CustomDebug, Default)]pubstructEuvBackTopProps{/// Whether the button is on screen.
////// The caller owns the visibility — it is usually driven by the
/// page's scroll offset, through `use_scroll`.
pubvisible:Signal<bool>,
/// The label on the button.
publabel:&'staticstr,
/// The callback fired when the button is taken.
#[debug(skip)]pubon_click:Option<Rc<dyn Fn(Event)>>,
}