Macro webui::title_primary

source ·
macro_rules! title_primary {
    ( $($x:expr ),* ) => { ... };
}
Expand description

Macro for expanding string arguments into a title

This title will use the .theme-primary class.

example

use webui::*;

fn page() -> Html {
	html! {
		{title_primary!("Text for your title")}
	}
}