mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-22 10:33:07 +00:00
13 lines
300 B
Text
13 lines
300 B
Text
|
rsx! {
|
||
|
// Raw text strings
|
||
|
button { r#"Click me"#, r##"Click me"##, r######"Click me"######, r#"dynamic {1}"# }
|
||
|
|
||
|
// Raw attribute strings
|
||
|
div {
|
||
|
width: r#"10px"#,
|
||
|
height: r##"{10}px"##,
|
||
|
"raw-attr": r###"raw-attr"###,
|
||
|
"raw-attr2": r###"{100}"###
|
||
|
}
|
||
|
}
|