wip: more progress on parity docs.

Placeholders in the rsx macro for future features.
This commit is contained in:
Jonathan Kelley committed 2021-05-28 12:56:21 -04:00
1 parent 4d5c528b07
commit c5089ba3c5
12 files changed
+147 -241

No files matched your search

+10 -5
View File
@@ -12,7 +12,10 @@ fn main() {
}
baller::Baller {}
baller::Baller {}
Baller {}
Baller {
// todo: manual props
// {...BallerProps {}}
}
div {
a: "asd",
a: "asd",
@@ -23,11 +26,12 @@ fn main() {
"asdas",
"asdas",
"asdas",
div {},
div {
},
div {
// classes: {[ ("baller", true), ("maller", false) ]}
// class: "asdasd"
// class: "{customname}",
// class: {[("baller", true), ("hover", false)]}
},
}
}
@@ -50,5 +54,6 @@ pub struct TallerProps {
}
pub fn Taller(ctx: Context, props: &TallerProps) -> DomTree {
let b = true;
todo!()
}