wip: more progress on parity docs.
Placeholders in the rsx macro for future features.
This commit is contained in:
1 parent
4d5c528b07
commit
c5089ba3c5
12 files changed
+147
-241
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user