We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad5e14a commit 9d97a3cCopy full SHA for 9d97a3c
docs/wrapping-react/local-packages.md
@@ -71,7 +71,7 @@ class Hello(rx.Component):
71
# Define everything else as normal.
72
tag = "Hello"
73
74
- name: rx.Var[str] = rx.Var("World")
+ name: rx.Var[str] = rx.Var.create("World")
75
on_greet: rx.EventHandler[rx.event.passthrough_event_spec(str)]
76
77
# Include any related CSS files with rx.asset to ensure they are copied.
@@ -168,4 +168,4 @@ intended to be imported by the wrapped component must also be listed in the
168
},
169
// ...
170
}
171
-```
+```
0 commit comments