euv_ui/component/logo/view/struct.rs
1use crate::*;
2
3/// Props for the `euv_logo` component.
4///
5/// Defines the strongly-typed interface for a branded logo button
6/// that renders the "E" letter with a gradient background.
7#[derive(Clone, CustomDebug, Data, Default, New)]
8pub struct EuvLogoProps {
9 /// The display variant controlling size and positioning.
10 #[get(type(copy))]
11 pub variant: LogoButtonVariant,
12 /// Optional click event handler.
13 #[debug(skip)]
14 pub on_click: Option<Rc<dyn Fn(Event)>>,
15}