euv-example 0.5.7

An example application demonstrating the euv UI framework with reactive signals, custom components, and WebAssembly.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::*;

/// Props for the `logo_button` component.
///
/// Defines the strongly-typed interface for a branded logo button
/// that renders the "E" letter with a gradient background.
#[derive(Default)]
pub(crate) struct LogoButtonProps {
    /// The display variant controlling size and positioning.
    pub(crate) variant: LogoButtonVariant,
    /// Optional click event handler.
    pub(crate) on_click: Option<Rc<dyn Fn(Event)>>,
}