euv-example 0.3.12

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
14
15
use crate::*;

/// Props for the `my_badge` component.
///
/// Defines the strongly-typed interface for the badge status indicator.
pub struct MyBadgeProps {
    /// The badge background/border color.
    pub color: String,
    /// The badge text content.
    pub text: String,
    /// Whether to render in outline style instead of solid fill.
    pub outline: bool,
    /// Optional click event handler.
    pub on_click: Option<NativeEventHandler>,
}