text

Macro text 

Source
macro_rules! text {
    ($($arg:tt)*) => { ... };
}
Expand description

Creates a reactive text component with formatted content.

This macro provides a convenient way to create text components with formatted content that automatically updates when reactive values change.

§Usage

let name = binding("World");
let greeting = text!("Hello, {}!", name);