docs: big updates to the reference

This commit is contained in:
Jonathan Kelley committed 2021-07-16 16:11:25 -04:00
1 parent caf772cf24
commit 583fdfa561
57 files changed
+726 -247

No files matched your search

+2 -2
View File
@@ -17,7 +17,7 @@ fn main() {
.expect("Webview finished");
}
// static Example: FC<()> = |cx| {
// pub static Example: FC<()> = |cx| {
// cx.render(html! {
// <div>
// <svg class="octicon octicon-star v-align-text-bottom"
@@ -36,7 +36,7 @@ fn main() {
// </div>
// })
// };
static Example: FC<()> = |cx| {
pub static Example: FC<()> = |cx| {
cx.render(rsx! {
div {
class: "flex items-center justify-center flex-col"