euv_ui/component/header/view/struct.rs
1use crate::*;
2
3/// Props for the `header` component.
4///
5/// Defines the strongly-typed interface for a standard header
6/// with an emoji icon, title, and subtitle.
7#[derive(Clone, Data, Debug, Default, New)]
8pub struct EuvHeaderProps {
9 /// The emoji icon displayed alongside the title.
10 #[get(type(copy))]
11 pub icon: &'static str,
12 /// The page title text displayed in the heading.
13 #[get(type(copy))]
14 pub title: &'static str,
15 /// The page subtitle / description text.
16 #[get(type(copy))]
17 pub subtitle: &'static str,
18}