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

+6 -1
View File
@@ -29,7 +29,12 @@ static Example: FC<ExampleProps> = |ctx, props| {
ctx.render(rsx! {
div {
class: "py-12 px-4 text-center w-full max-w-2xl mx-auto"
class: "py-12 px-4 text-center w-full max-w-2xl mx-auto",
// classes: [Some("asd")]
// style: {
// a: "asd"
// b: "ad"
// }
span {
class: "text-sm font-semibold"
"Dioxus Example: Jack and Jill"