mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-21 01:53:15 +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}"###
|
||
|
}
|
||
|
}
|