Skip to main content

euv_ui/component/watermark/view/
struct.rs

1use super::*;
2
3/// Props for the [`euv_watermark`] component.
4///
5/// Defines the strongly-typed interface for a watermark: the text
6/// stamped over the content it wraps.
7#[derive(Clone, CustomDebug, Default)]
8pub struct EuvWatermarkProps {
9    /// The text stamped over the content.
10    ///
11    /// An empty string renders the content without a watermark.
12    pub text: &'static str,
13}