euv-example 0.3.11

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

/// Props for the `primary_button` component.
///
/// Defines the strongly-typed interface for the primary button.
#[derive(Data, Debug, Default)]
pub struct PrimaryButtonProps {
    /// The button label text, used as fallback when no children are provided.
    pub label: String,
    /// Optional click event handler.
    pub onclick: Option<NativeEventHandler>,
}