added outline support (still not done yet)

This commit is contained in:
2024-12-28 06:34:12 -06:00
parent dac3acdceb
commit 2cc029df91
4 changed files with 127 additions and 90 deletions
+9 -5
View File
@@ -6,10 +6,14 @@ fn main() {
#[component]
pub fn App() {
ersx! {
text { style: style! {
x: 30 px,
y: 4 px
}, "hello, world" }
rsx! {
text { style: style!{
outline: true,
}, "Hello, World!\nabc" }
text { style: style!{
outline: true,
width: 3 px
}, "Hello, World!\nabc testing" }
}
}