outlines
This commit is contained in:
+3
-1
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user