This commit is contained in:
2024-12-01 12:50:50 +01:00
parent 1eef3d4306
commit 253078957b
5 changed files with 100 additions and 25 deletions
+3 -1
View File
@@ -4,7 +4,7 @@ pub fn examples() -> Element {
rsx! {
styling: Some(styling()),
button { class: "btn", "Click me!" }
button { class: "btn", "Click me!\nsdusajuda" }
text { "Welcome!" }
}
@@ -13,8 +13,10 @@ pub fn examples() -> Element {
pub fn styling() -> Css {
css! {
"btn" {
outline: true,
x: Center,
y: Center,
width: Auto,
color: Red,
}